winsock???

  • Thread starter Thread starter Nicholas Paldino [.NET/C# MVP]
  • Start date Start date
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.
 
Off Corse
thank you...

'[] WiRaN

Nicholas Paldino said:
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.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

'[] WiRaN said:
one ever use winsock?
example???????

'[] WiRaN
 
Back
Top