You can bind a socket to a specific single interface using QUdpSocket::bind(). This way you can have two sockets for two different interfaces.