I’d like to allow other plugins within the same host to send data to my plugin.
For that I want to use a simple UDP socket bound to 127.0.0.1 and a defined port (I picked 6419).
For some reason though the DatagramSocket::waitUntilReady always returns -1.
I setup a test app to isolate the problem.
These are three lines of code so there’s not a lot that I can be doing wrong
DatagramSocket socket; socket.bindToPort(6419); int success = socket.waitUntilReady(true, 5000); DBG("Success: " + String((int)success));
What’s going on? Can this be a permission thing or something?
Using Xcode 10 on Mojave 10.14.5.
LittleSnitch is installed but turned off, Firewall is disabled as well.