Open pinkforest opened 2 years ago
I added basic UdpSocket stateful IPv4 tests for connect, send, recv, send_to, recv_from in #33 I didn't hardcode the port numbers and relies on :0 and then getting the local_addr - I am already worried hardcoding 127.0.0.1
I think that this is a good approach for now. Hardcoding the ip to 127.0.0.1
should also be fine in most cases.
https://github.com/lunatic-solutions/rust-lib/pull/29#issuecomment-1156219719
I guess I will figure something out :)