-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
Linux: Art-Net IPv4 packets not received #1588
Comments
The easy fix proposed with #1589 fixes IPv4 but, of course, breaks IPv6 As stated on the pull request, a more complicated approach is to create several sockets, one for each input address, and bind them to their specific address. |
qlcplus 4.13.1 on Windows 11 and qlcplus 4.12.7 on Mac seem to work out of the box. Anyway, my first test on Windows went crazy. Note that I'm checking Artnet with Wireshark to be sure the problem is not on the source (this controller on an Android phone) and monitor the output of the DMX USB adapter with an oscilloscope (I don't have fixtures available). I'll go on testing. |
Describe the bug
While starting to investigate on #1419 I realized I was not receiving Art-Net packets sent to my IPv4 address.
Investigating on the new issue, I saw that when binding the UDP socket with
udpSocket->bind(ARTNET_PORT, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint)
netstat showed only an IPv6 bind
and strace on the process showed
Replacing the bind with
udpSocket->bind(QHostAddress::SpecialAddress::AnyIPv4, ARTNET_PORT, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint)
solves the problem and qlcplus receives the UDP packets regularly.
In this case netstat shows only an IPv4 binding
and strace shows
To Reproduce
Steps to reproduce the behavior:
Expected behavior
qlcplus receives the Art-Net UDP stream and, when configured with passthrough, sends it on an output, for instance a DMX USB device.
Screenshots
N.A.
Desktop (please complete the following information):
Additional context
N.A.
The text was updated successfully, but these errors were encountered: