This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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:

 
jQuery in Action, 2nd edition
 
subject: Creating a Application that runs both a client and a server (p2p)
 
Similar Threads
ObjectOutputStream thread issue
MIDI Network Program Error
error sending serialized object between client and server using sockets
Help on Serializable
Server and Client