Hi all,
How to get the list of IP Address of connected computers in a Network in java? How to enable sending message and file transfer from peer to peer?
Thanks for reply in advance!
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Aug 2, 2011, 6:19 PM
Zoran HorvatPosted Aug 2, 2011, 12:38 PM
You can enable receiving (not sending) files by starting the listening socket on a port and waiting for incoming connections. In that case client would connect to server and then they would exchange file content using custom protocol. Another method, easier to develop but relatively inefficient, is to code an XML Web service and to use that as a server which receives data from clients.
Zoran