winsock in vb.net

G

Guest

--
hello

I noticed the winsock control is not in VB.net.
Is this replaced by the Socket class in VB.net?

How different is socket programming with VB.net compared to VB6?
 
H

Herfried K. Wagner [MVP]

john andrew said:
I noticed the winsock control is not in VB.net.
Is this replaced by the Socket class in VB.net?

How different is socket programming with VB.net compared to VB6?

It's different because .NET's sockets are a different API. Is that what you
wanted to hear? I suggest to take a look at the samples on the Web and in
the documentation to see the differences.
 
D

Dick Grier

Hi,

It is different, and, yes, you use the .NET.Socket class. However, porting
Winsock ocx (VB6) code to .NET isn't too difficult. Did you have a specific
question?

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 

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


Top