Visual Basic allows data to be sent via a Point-To-Point (PTP) Connection via Winsock. Once the control is inserted, only a few commands are required to send data between two networked computers. A LAN cable must be connected between the computers.

To allow Winsock to connect to any available computers, the listen command is needed, as shown below

Winsock.Port=1234Winsock.Listen

Once this has been done, the other computer's Local IP is required. Your IP can be viewed with the command

Debug.PrintWinsock.LocalIP

Connecting merely requires one line of code, as shown below

Winsock.ConnectRemoteHost,Port

Port can be any number up to 50,000. The example as shown above is 1234.