After updating JUCE To the latest download (4.3) from the Projucer, the following bug appeared. It still also happens with the latest tip from github, which I upgraded to to see if the bug was fixed…
Previously in my code “bool success = socket->bindToPort(port);” worked - i.e., success would be true if the port was successfully bound by the DatagramSocket, and false if the port was already in use. Now however, it always just returns true, even if the port is taken by another socket, and the new one in reality isn’t using the port at all.
Of course(?), each DatagramSocket is initialized and used in its own thread.
I’m not exactly sure when this was introduced, but I am certain that a few updates ago it used to work fine.
This happens on Windows 10, building for win32 with VS 2013.