The task is simple: to communicate with another program that receives and transmits UDP packets through various network devices.
The problem is that it cannot prescribe IP for work, and she herself suggests a list of existing devices and 127.0.0.1 is not on this list.
Is it possible to somehow configure the Python socket, so that a third-party program can see it as an interface with its IP?
Or maybe other methods in Python exist?
Here it is done on the same in one working program
hpsdrSocket = new QUdpSocket(this); hpsdrSocket->bind(1024, QUdpSocket::ShareAddress); connect(hpsdrSocket, SIGNAL(readyRead()), this, SLOT(readHpsdrUDPData()));