how to setup C# TCPClient timeout

This is a discussion on how to setup C# TCPClient timeout within the C# Programming forums, part of the General Programming Boards category; Hello everyone, I am wondering if I am using TCPClient class in C#, how to setup timeout value? Timeout I ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    how to setup C# TCPClient timeout

    Hello everyone,


    I am wondering if I am using TCPClient class in C#, how to setup timeout value? Timeout I mean, when connects to server for the 1st time, and during <timeout> interval, if no server response is received, the GetStream method will return will return other than wait forever.


    thanks in advance,
    George

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,810

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 03-10-2008, 12:57 PM
  2. rsh timeout
    By jlai in forum Windows Programming
    Replies: 0
    Last Post: 06-03-2005, 08:18 AM
  3. connect timeout
    By X PaYnE X in forum Networking/Device Communication
    Replies: 8
    Last Post: 05-14-2005, 10:30 PM
  4. Server deadlocks, Nonblocking IO, or Timeout?
    By 0xception in forum C Programming
    Replies: 6
    Last Post: 01-03-2005, 12:49 PM
  5. Setup
    By gvector1 in forum C# Programming
    Replies: 0
    Last Post: 07-10-2003, 10:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21