File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Creating a Application that runs both a client and a server (p2p) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Creating a Application that runs both a client and a server (p2p)" Watch "Creating a Application that runs both a client and a server (p2p)" New topic
Author

Creating a Application that runs both a client and a server (p2p)

Jack Si
Greenhorn

Joined: Sep 19, 2011
Posts: 5
Ok so im creating this server client p2p application and for my practice it will only send objects

Each application runs a server and an application

For some reason only the first server run will get any connections from the other servers and after each server gets this connection to the first they stall out
I would like it so that each client has a connection to each other server and each server gets a connection to each client

Server Side connections:





Client:

 
wood burning stoves
 
subject: Creating a Application that runs both a client and a server (p2p)