wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes how to identify a computer which connects to a network? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how to identify a computer which connects to a network?" Watch "how to identify a computer which connects to a network?" New topic
Author

how to identify a computer which connects to a network?

Rukshan Silva
Greenhorn

Joined: Oct 02, 2007
Posts: 12
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....


Rukshan Silva <a href="http://www.linkedin.com/in/rukshansilva" target="_blank" rel="nofollow">Linked In</a>
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8715
    
    6

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
chandrakant karale
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
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
 
jQuery in Action, 2nd edition
 
subject: how to identify a computer which connects to a network?
 
Similar Threads
about network programming . . .
Final Year Project
Transmission of Windows login to Weblogic Portal ?
Nertworking
CLOSE_WAIT