By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,972 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,972 IT Pros & Developers. It's quick & easy.

winsock in vb.net

P: n/a

--
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?
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"john andrew" <jo********@discussions.microsoft.com> schrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2

P: n/a
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.
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.