Thread: how to setup C# TCPClient timeout

  1. #1
    Registered User
    Join Date
    May 2006

    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,

  2. #2
    Join Date
    Aug 2002
    Tucson, Arizona

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 03-10-2008, 11:57 AM
  2. rsh timeout
    By jlai in forum Windows Programming
    Replies: 0
    Last Post: 06-03-2005, 07:18 AM
  3. connect timeout
    By X PaYnE X in forum Networking/Device Communication
    Replies: 8
    Last Post: 05-14-2005, 09: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, 09:22 AM