Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to identify a computer which connects to a network?

 
Rukshan Silva
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

i am a final year student in Computing and i am doing a distributed file system for my final year project. And can i just know how to identify a computer which connects to a network? your ideas are highly appreciable..

Thank You....
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends. What kind of network? TCP/IP identifies computers by IP address. DNS provides a way to relate a name to an IP address. There are other protocols (like jini or p2p networks) that allow computers to advertise themselves and be discovered by other computers.
 
chandrakant karale
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think you are asking about java api, right?.
Socket which is created when client connects to the server can give you the client's address.

Or your query is finding address of a computer which is connected to network, irrespective of whether it had made a request or not. If that is so

http://jcifs.samba.org/ may help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic