Why Chat example doesn't work on Windows XP? In Linux or W2K seems to work.

The problem is the broadcast ip from interface:

Qt Code:
  1. foreach (QNetworkInterface interface, QNetworkInterface::allInterfaces()) {
  2. foreach (QNetworkAddressEntry entry, interface.addressEntries()) {
  3. qDebug() << "IP: " << entry.ip().toString() <<
  4. "\nNetmask " << entry.netmask().toString() <<
  5. "\nBroadcast " << entry.broadcast().toString();
  6. }
  7. }
To copy to clipboard, switch view to plain text mode 

In Windows XP entry.broadcast() is Null in LAN ifaces also.

Thx. Selu.