Qt5.5 multicast program use wlan IP cannot receive packages with wired net is working
Unsolved
General and Desktop
-
here is the codes:
udpSocketA = new QUdpSocket(this);
int rec = udpSocketA->bind(QHostAddress("192.168.5.3"),37224, QUdpSocket::ShareAddress);
groupAddressIn = QHostAddress("239.255.35.1");
udpSocketA->joinMulticastGroup(groupAddressIn);questions:
the receive divice can receive my computer send data, but my computer cannot receive data with wired network card is not forbidden.If the wired network card is forbidden, my computer can receive multicast data.
I want to know how to resolve the question, thanks!