Winsock in VB

  • Thread starter Thread starter Donald
  • Start date Start date
D

Donald

Hey,

I want to start using winsock in VB.NET, but cannot find anygood books on
it. No one has any. Did winsock get renamed, or does .NET now use something
else for internet stuff? Thanks.
 
There are a bunch of classes in the System.Net namespace that allow you to
use sockets and network protocols. Some actually get into a lot more detail
and are far more flexible than the activeX WinSock component, though I'm
sure some might argue they aren't as simple to use. Anyway, look up
System.Net and System.Net.Sockets. Lots of material and samples out there.
I'm sure you'll primarily be interested in the TCPListener/TCPClient
classes.

-Rob Teixeira [MVP]
 
Hey,

I want to start using winsock in VB.NET, but cannot find anygood books on
it. No one has any. Did winsock get renamed, or does .NET now use something
else for internet stuff? Thanks.

You'll want to look at the documentation for the System.Net and
System.Net.Sockets namespaces. There are also several examples on the
msdn website...

http://msdn.microsoft.com/library/d...e/html/cpconusingnon-blockingclientsocket.asp

This will put you right in the middle of a whole section on sockets in
..NET :)
 
* "Donald said:
I want to start using winsock in VB.NET, but cannot find anygood books on
it. No one has any. Did winsock get renamed, or does .NET now use something
else for internet stuff?

Namespace 'System.Net.Sockets'.
 
Back
Top