You can find heaps of examples in the vb6 and earlier codebank on how to let winsock communicated between two or more computers.