Cinder-Asio
Cinder-Asio copied to clipboard
UDP connections don't disable
Maybe I'm doing something wrong... but I'm getting a lot of strange behavior with UDP (I'm running on Linux, but it shouldn't matter I don't think...)
I've noticed this behavior in an app of mine, but I'm seeing it in the UDP Client/Server Sample as well.
Example that you can replicate: You launch the client and server with the correct IP on the client side (in the example it's loopback), the system connects and you can send messages. But then if you put in an invalid IP and click "Write" messages still get send to the old IP and they'll show up on the server!
In my app it will sometimes stays connected, sometimes it won't. I also get strange behavior where it seems to say it's connected when you input an invalid IP