Hi
I would move away from TCP for something like this and use UDP instead (less overhead), you could then also look at using broadcasting rather than requiring the IP address to be hardcoded or configued in the transmitting side of the application. The use of broadcast messages would depend on your network infrastructure though,