Winsock in VB

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.
 
R

Rob Teixeira [MVP]

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]
 
T

Tom Shelton

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 :)
 
H

Herfried K. Wagner [MVP]

* "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'.
 

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

Similar Threads

vb.net and winsock 3
Client Server app using winsock 3
Winsock 6 control in VB.NET 6
winsock in dotnet 5
Question about networking in VB 2
control array 6
TCP Socket 3
winsock error 33

Top