send message from PC to PC

Hi,Anyone know how to send message from one PC to other PC using LAN in java.Thanks
[104 byte] By [Rosy_Thomas@Javaa] at [2007-11-27 9:45:25]
# 1
sockets?
masijade.a at 2007-7-12 23:53:59 > top of Java-index,Java Essentials,Java Programming...
# 2
The Smack library
georgemca at 2007-7-12 23:53:59 > top of Java-index,Java Essentials,Java Programming...
# 3
in any ways. by using sockets or some third party API
Rosy_Thomas@Javaa at 2007-7-12 23:53:59 > top of Java-index,Java Essentials,Java Programming...
# 4
> in any ways. by using sockets or some third party APISome sort-of backwards premonition?
georgemca at 2007-7-12 23:53:59 > top of Java-index,Java Essentials,Java Programming...
# 5

Try reading through the networking tutorial on the Sun site, then google for a few third party networking APIs of the preferred protocol, then try afew things out on your own, then decide what it is you actually want to do, then try and write it, then come back here with any specific questions you may have.

masijade.a at 2007-7-12 23:53:59 > top of Java-index,Java Essentials,Java Programming...
# 6
As usual, it depends on details but if they're really "messages" there is the JMS (java messaging services) API. This can work in to models, one point to point like machine readable e-mails, and a "publish and subscribe" model which works more like a newsgroup.
malcolmmca at 2007-7-12 23:54:00 > top of Java-index,Java Essentials,Java Programming...