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

how to identify the systems which are connected in java  RSS feed

 
sreelakshmi kolla
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am working on implementing the intenal LAN messenger.here i want ti identify the systems which are connected in LAN and get their names.
can any one tell how to do this?

Thanks&Regards,
Sreelakshmi.
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no way to query a TCP/IP network to find who is connected short of pinging every available address for a well-known service (ping, echo, time). This practice is frowned upon by network engineers and is usually considered an attack. The conventional way a messenger service compiles a list of clients is by having clients register with a central server.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!