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

Testing for Network #30

Open
pinkforest opened this issue Jun 15, 2022 · 2 comments
Open

Testing for Network #30

pinkforest opened this issue Jun 15, 2022 · 2 comments
Assignees

Comments

@pinkforest
Copy link
Contributor

#29 (comment)

I guess I will figure something out :)

@pinkforest
Copy link
Contributor Author

pinkforest commented Jun 26, 2022

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

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.

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