all groups > dotnet academic > july 2003 >
You're in the

dotnet academic

group:

Network Control VB.Net



Network Control VB.Net Simon Whitty
7/27/2003 9:53:18 PM
dotnet academic: Just wondering, what control do I add to my form to enable
network communication?

I programmed VB 5 a couple of years ago and simply added a
network control, set the port and ip and could send data
through the control. Can't seem to find a similiar
control in VB.net ?

also when i do find the control, is it possible to run 2
apps on the same ip-address (ie my pc) and set them to
different ports and communicate to each other? (i suppose
i will find out when i get this network control working..)

thanks
Simon Whitty

Re: Network Control VB.Net Peter van der Goes
7/28/2003 6:26:10 AM

[quoted text, click to view]
You want to investigate the System.Net and System.Net.Sockets namespaces.
It's classes in these namespaces such as TCPClient, UDPClient, TCPListener,
UDPListener, etc. that will do what you want.

--
Peter - [MVP - Academic]



AddThis Social Bookmark Button