Testing for Network
pinkforest opened this issue · 2 comments
pinkforest commented
I guess I will figure something out :)
pinkforest commented
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
bkolobara commented
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.