@aha_1980 said in UDP Socket - writeDatagram uses IPv6 and not IPv4: Then why not use QHostAddress::AnyIPv4 ? Looks more clear to me... Learn something new everyday :)