hi,
how can I find the adress of all connected machines to the network,with InetAdress and thanks for any help :-<
Printable View
hi,
how can I find the adress of all connected machines to the network,with InetAdress and thanks for any help :-<
What did you try so far? Did you try to google it?
InetAddress IPaddress = InetAddress.getByName(ipaddr);
ServerSocket serverSocket = new ServerSocket(Integer.parseInt(serverPort, 0, IPaddress);