NetworkDiscovery.OnReceivedBroadcast(string fromAddress,string data) supplies the fromAddress string in the format ::ffff:192.168.0.50 for example.
Initially I thought the ffff part might be the port number as a hex string, however regardless of which port I start my host on before I start broadcast, it is always ffff.
Therefore the only useful information I can get from then fromAddress string is the IP address.
Currently I'm passing the port number in the data...
OnReceivedBroadcast doesn't supply port number
Initially I thought the ffff part might be the port number as a hex string, however regardless of which port I start my host on before I start broadcast, it is always ffff.
Therefore the only useful information I can get from then fromAddress string is the IP address.
Currently I'm passing the port number in the data...
OnReceivedBroadcast doesn't supply port number