Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

A java program to act as both TCP client and server

843790Oct 6 2007 — edited Oct 7 2007
How 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2007
Added on Oct 6 2007
5 comments
476 views