-
Notifications
You must be signed in to change notification settings - Fork 3
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
[udpclient] doesn't output connection information nor received data when using broadcast address #9
Comments
wireshark shows that the server is replying well with the same message as if broadcast is disabled so I tried to add an UDP receive on that port, but Pd says that the port is already in use. |
finally I got a very simple but working udpclient / udpserver pair in plain C that demonstrate the issue. I found the code here : http://www.cs.ubbcluj.ro/~dadi/compnet/labs/lab3/udp-example1-c.html You'll find the modified udpclient.c and udpserver.c as well as a client.pd patcher. But with |
hum... injecting the following code before the
commenting the |
confirmed. |
When I'm connecting to an UDP server with it's IP address, it answer with "acknowledge"
when I'm connection with a broadcast IP (i.e. 192.168.0.255) I didn't not receive the answer, but a python script does.
My UDP server run on a Atmega 328P with an Ethernet shield, here the code :
.
You will find the client.py and client.pd script that demonstrate the issue.
But you'll need an arduino and an ethernet shield to reproduce it.
client-issue.tar.gz
Unfortunately I could not reproduce exactly the same behavior with a Python script as UDP server
The text was updated successfully, but these errors were encountered: