GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Problem with UDP broadcast packet reception on Linux · Issue #11 · DMXControl/ArtNetSharp Closed DescriptionHello, I'm running an Art-Net Output node using your library on Linux on a Raspberry Pi. I'm using DMX-Workshop and QLC+ on a separate Windows PC. When using older version (0.0.20) of your library the node:
I am aware that controllers shouldn't be sending broadcast ArtDmx according to the specification, but it is useful in my case. In the current version (0.0.38) the node:
When running the same version (0.0.38) on a Windows PC the node:
After a little investigation I've noticed that the older version of your library used a single socket bound to 0.0.0.0. Current version creates a separate socket for each network interface bound to the local IP address. I made a few experiments using sockets in Python on Linux. From what I know on Linux a socket bound to for example 10.0.0.5 can only receive packets with the destination IP 10.0.0.5. All of the broadcast packets are ignored in this case. On Linux there are 2 ways of receiving broadcast packets:
I think that creating 2 sockets for each network interface (excluding loopback) on Linux could be a solution to this problem:
I can also check how it works on macOS, but it should be similar to Linux, because both of them are Unix-like. Thank you Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |