-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add ResolveIPAddr and ResolveUnixAddr #23
Comments
ResolveIPAddr looks doable. You want to try a crack at implementing? It should be vary similar to ResolveUDPAddr. We don't have unix socket support in tinygo "net" package, so I would say No. |
Are you wanting to use these funcs for real networking, or just to compile? If just for compile, we could add stubs that return "not implemented". That would make the compiler happy. |
I think just the stubs are fine for now! |
Oh, that's easy then. Would you submit a PR to add those stubs? |
Sure, on it |
@scottfeldman here is ResolveIPAddr which actually works for some IP addresses, just not those that require accessing /etc/protocols: #24 |
@scottfeldman Here is ResolveUnixAddr: #25 |
net/udpsock.go
Line 84 in a794174
I see that ResolveTCPAddr is in, could ResolveIPAddr and ResolveUnixAddr be added?
The text was updated successfully, but these errors were encountered: