Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

send message to another computer  RSS feed

 
Rashmi Trivedi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys
I would like to do the following.

I like to send message from my pc to another pc using java application or i can simply give ip range from and to so that i can send message to more than one computer at same time.

Can you please help me..much appreciated and thanks in advance..

regards,
Rashmi Trivedi
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a huge number of ways to do this - anywhere from UDP (on the simple end) to Java Message Service or even email. What are your requirements? Think about these factors:
1. message size
2. reliability of transmission (guaranteed versus occasional loss)
3. content type (binary, text, Java object)
4. acknowledgement required
5. local network or Internet

For the simple, look at the docs for the java.net package, for example DatagramSocket and MulticastSocket
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!