Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic IP on iOS Build #33

Open
danielleamya opened this issue Jan 18, 2024 · 1 comment
Open

Dynamic IP on iOS Build #33

danielleamya opened this issue Jan 18, 2024 · 1 comment

Comments

@danielleamya
Copy link

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
Copy link
Owner

Iam1337 commented Jan 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants