-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Doesn't seem to be able to both send and receive locally via local address #3411
Comments
by Jukka Rissanen: Indeed this should work properly. We have check to localhost address (127.0.0.1) which should work ok and you should get the packet back, but we seem to be missing the check to our own address. This looks like a simple one liner to fix, I will investigate more. |
by Paul Sokolovsky: Verified with my Zephyr.js, works perfect. Actually, I verified 2 cases: sending and receiving via a single context, and via 2 separate contexts. Thanks! For reference, the JS code was: {code:java} var dgram = require('dgram'); var server = dgram.createSocket('udp4'); var client = dgram.createSocket('udp4'); console.log("End"); |
Reported by Paul Sokolovsky:
I'm doing following:
What I get is: socket #1 receives nothing, and socket #2 doesn't even have sent callback called. Whereas expected behavior is: socket #1 receive the data.
Is it supposed to work in Zephyr now? If not, that's not what POSIX (or common sense) wants. I'm looking into this because it's an easy way to perform automated integration testing for networking stuff (we can use it in sanitycheck tests).
(Imported from Jira ZEP-1966)
The text was updated successfully, but these errors were encountered: