• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

how to identify a computer which connects to a network?

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic