C Board  

Go Back   C Board > General Programming Boards > C# Programming

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-13-2007, 02:29 AM   #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
George2 is offline  
Old 08-13-2007, 12:09 PM   #2
Sweet
 
Join Date: Aug 2002
Location: Tucson, Arizona
Posts: 1,678
http://msdn2.microsoft.com/en-us/lib...roperties.aspx
prog-bman is offline  
Closed Thread

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Function argument assignment between types "unsigned int*" and "unsigned long*" nadeer78 C Programming 8 03-10-2008 11:57 AM
rsh timeout jlai Windows Programming 0 06-03-2005 07:18 AM
connect timeout X PaYnE X Networking/Device Communication 8 05-14-2005 09:30 PM
Server deadlocks, Nonblocking IO, or Timeout? 0xception C Programming 6 01-03-2005 12:49 PM
Setup gvector1 C# Programming 0 07-10-2003 09:22 AM


All times are GMT -6. The time now is 01:53 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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