JUCE OSC Sender not accepting network NAMES and therefore not sending messages at all

Hey JUCE team,
I just spent 30 minutes trying to figure out why my OSC messages were not being send. Turns out: using an address like “Some-Other-Mac.local” as supposed to the local ip address was making ::send always return false (no further error) but ::connect still returning true.

I hope this can be improved in any way for future users.

What about localhost or 127.0.0.1? Those are the most common ways of referencing the local machine.

I wasn’t trying to reference the local machine.
EDIT: I clarified that in my example, thanks!