Search code examples
javasocketsip

IP Address in a wired /wireless LAN using java


I am working on a java server-client app that transfers file btw each oda within a wired or wireless LAN, my problem now is how to detect the IP address of the client computer and the server computer in a wireless or wired LAN. Bottom-line: how to i use java code to detect the ip address of a computer in a wired or wireless LAN connection btw two computers.


Solution

  • Maybe jgroups can help you: http://www.jgroups.org