N
Nicholas Paldino [.NET/C# MVP]
WiRaN,
Instead of using the winsock libraries, use the classes in the
System.Net.Sockets namespace, as they wrap access to the sockets layer. If
you need to access advanced functionality on a socket, you can get the
handle to the socket through the Handle property and then pass that to API
functions that you call through the P/Invoke layer.
Hope this helps.
Instead of using the winsock libraries, use the classes in the
System.Net.Sockets namespace, as they wrap access to the sockets layer. If
you need to access advanced functionality on a socket, you can get the
handle to the socket through the Handle property and then pass that to API
functions that you call through the P/Invoke layer.
Hope this helps.