Hi Vinod,
Thanks for posting in the community!
From your description, you are looking for the buildin components which
provide the socket programing. Also you'd likte some suggestions on
connection pooling when doing socket programming, yes?
If there is anything I misunderstood, please feel free to let me know.
As for the socket programing, you may refer to the "System.Net" namespace,
most classes there are the buildin components for net programming. And here
are some tech reference on socket programing in dotnet:
#.NET Framework Developer's Guide Sockets
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconSockets.asp?frame=
true
#Socket Code Examples
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconsocketcodeexamples.asp
#Using an Asynchronous Server Socket
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconUsingNon-BlockingS
erverSocket.asp?frame=true
#Using an Asynchronous Client Socket
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconUsingNon-blockingC
lientSocket.asp?frame=true
As for pooling, the dotnet also provide the ThreadPool component which
provide the buildin thread pool functions. That'll ease our works when
implement pooling for our custom tasks such as net work connections. Here
are some of the tech referenes in MSDN and a tech article on internet.
#Thread Pooling
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconThreadPooling.asp?
frame=true
#Programming the Thread Pool in the .NET Framework
http://msdn.microsoft.com/library/en-us/dndotnet/html/progthrepool.asp?frame
=true
#A Simple .NET TCP Socket Component
http://www.codeproject.com/csharp/XYNetSocket.asp
Hope these help.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx