Iam1337 / extOSC

extOSC is a tool dedicated to simplify creation of applications in Unity with OSC protocol usage.
MIT License
193 stars 25 forks source link

Dynamic IP on iOS Build #33

Open danielleamya opened 7 months ago

danielleamya commented 7 months ago

Hi,

I am wondering if there is a way to dynamically change the IP address that my application is sending to. When I attempt to connect to a new IP address, I get this error:

SocketException: An invalid argument was supplied.

However, when I switch the IP manually through the Editor UI, I don't have any reconnection issues.

Iam1337 commented 7 months ago

Unfortunately, I don’t have iOS devices at hand right now to see what the problem is. Try using the Close() method before changing the IP and Connect() after.