winsock???

  • Thread starter Nicholas Paldino [.NET/C# MVP]
  • 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.
 
W

'[] WiRaN

I am wanting to make a game I saw net, therefore I need, if somebody will
have an example.
'[] WiRaN

I R BABOON said:
I% SAY :::
one ever use winsock?
example???????

'[] WiRaN

I've used tcp sockets in .net

what are you after ?
 
W

'[] WiRaN

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top