Added checking for same machine/ip address.
Switches from listening and broadcasting on a udp port to a single tcp socket on the next port up.