This is the snippet Using Winsock in VB.NET on FreeVBCode. The FreeVBCode site provides free Visual Basic code, examples, snippets, and articles on a
This source code sample demonstrates how you can use the VB6 Winsock control to build a simple client server application.
Using the Winsock Control. A WinSock control allows you to connect to a remote machine and exchange data using either the User Datagram Protocol (UDP) or
A simple example of exchanging data across a network using the WinSock control
Running the Winsock Client and Server Code Sample. If the client and server are executed on the sample computer, the client can be started as follows: