Hi Tracy and Bogdan, This is what I was looking for !!!.
I am a new to Network programming, I am trying to understand the difference between using TcpClient over Socket Client. Do you guys know the pros and cons chosing between TcpClient and Socket Client ? Thanks. -----Original Message----- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Tracy Martin Sent: Thursday, September 11, 2003 1:01 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Setting Timeout for Socket Client Connection At 13:22 9/11/2003, Muthuraj Velayutham wrote: >Socket m_socClient = new Socket(AddressFamily.InterNetwork, >SocketType.Stream, ProtocolType.Tcp); m_socClient.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveTimeout, 30000) =================================== This list is hosted by DevelopMentor. http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor� http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com
