A java program to act as both TCP client and server
843790Oct 6 2007 — edited Oct 7 2007How do i make a single program act as both client and server (TCP). In the sense i should be able to run instances of the same program as a server in one place accepting connection and the client requesting connection to this server (running the same code) running somewhere else.
Thanks