[Qt-interest] QUdpSocket's writeDatagram source port
Thiago Macieira
thiago at kde.org
Wed Oct 28 13:22:04 CET 2009
Em Quarta-feira 28 Outubro 2009, às 13:09:30, Valentin Iliu escreveu:
> But calling bind() with no arguments is actually calling bind(0), which
> means "listen to any port"?! If so, that's not acceptable for me, because
> I want the callback function to deal with only the other side's response,
> not with any message coming to my app via UDP.
It's the same thing because the operating system forces that.
If you don't bind, the operating system will bind for you to any port.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091028/c8e02c7d/attachment.bin
More information about the Qt-interest-old
mailing list