Hi all,
I'm using QUdpSocket in a client-server environment and I want to improve performance sharing listen port between more identical server processes.
All datagrams are processed by all processes but I want to split them between processes.
I used the bind mode SharedAddress to bind sockets to same port but nothing changed.
Server socket binding and datagram processing is done as follows:

------ Binding
udpSocket = new QUdpSocket();
udpSocket->bind(portNum,QUdpSocket::ShareAddress);
connect(udpSocket, SIGNAL(readyRead()),
this, SLOT(processPendingDatagrams()));

---- Datagram Processing Slot

void Receiver:rocessPendingDatagrams()
{
while (udpSocket->hasPendingDatagrams()){
QByteArray datagram;
datagram.resize(udpSocket->pendingDatagramSize());
udpSocket->readDatagram(datagram.data(), datagram.size());

}

}

Do you have experience with this?

Thanks,
Michele