This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Sockets and Internet Protocols and the fly likes Connection from client to client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Connection from client to client" Watch "Connection from client to client" New topic
Author

Connection from client to client

K. Julin
Greenhorn

Joined: Oct 17, 2010
Posts: 1
Hi!

I've been working on a simple java based instant messaging application like Messenger. It works so that clients connect to server application with Socket connection and server directs clients messages to receiving clients. I've read that this is the way that some "real" instant messaging application work.

However, now I would like to develop a file transfer feature and for that I have read quite a lot of articles. It seems that some instant messaging applications establsih a client to client connection but I can't find any information how they do that.

So I would like to get file transfer to work so that files would not be transferred through server but from client to another client so that server won't be saddled with the data transfer of files.

I would appreciate it if someone could tell me how the connection between two clients can be established?

Thanks in advance!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection from client to client