I am working on a project that involves communication with other software via UDP. Via bonjour I search for the clients I’d like to “connect” to and send them my connection data so they can send data back to me. The DatagramSocket tells me the local port it’s bound to, however the problem is finding out about my hostname. How can I get that hostname without getting to platform specific?
Thanks in advance,