Hey,
I'm trying to make your example work with two or more devices connected over the internet.
For example:
A server is running on 127.0.0.1:17000 (Public IP: 39.283.143.3) and clients running on different IPs and ports. How do I get them to communicate using udp?
So far it is only working when both server and client are on the same network. Even then I had to change the server address to 0.0.0.0:17000 and tell the client to connect using the private IP (192.168.0.100) to get it to work.
The end goal here is to get Unity3D game (clients) to send data (packets) to a server using UDP. If you have any thoughts or any other solution (doesn't have to be open source) please share because I've tried many different things (libs) but haven't had any luck. :(
0.0.0.0 means listen to all interfaces so it should work.
If it does not work a firewall is causing the problem.
google on openport scan to see if the server ports are open
Hey, I'm trying to make your example work with two or more devices connected over the internet.
For example: A server is running on 127.0.0.1:17000 (Public IP: 39.283.143.3) and clients running on different IPs and ports. How do I get them to communicate using udp?
So far it is only working when both server and client are on the same network. Even then I had to change the server address to 0.0.0.0:17000 and tell the client to connect using the private IP (192.168.0.100) to get it to work.
The end goal here is to get Unity3D game (clients) to send data (packets) to a server using UDP. If you have any thoughts or any other solution (doesn't have to be open source) please share because I've tried many different things (libs) but haven't had any luck. :(
Thanks!