I am currently connecting PC with the galileo board, I am using java socket programming for connecting PC with the board,
At the client side I need to give:
Socket client = new Socket(serverName, port);
Where I will provide the IP address of the PC. But everytime I connect galileo board to a different PC, I need to go into the code and modify the IP address.
Is there any way that the galileo board will automatically get the IP address of PC and adjust the IP address in the code.