Qt-interest Archive, December 2007
writeDatagram problems in Qt 4.3.3
Message 1 in thread
Hi there - I have a piece of code that has been working fine in all
previous versions of Qt4, but I'm now trying to build on OS X 10.5.1
with Qt 4.3.3 and am having some trouble with the writeDatagram method.
When I send to any address other than localhost, I get
QAbstractSocket::NetworkError from a call to mySocket.error( ) after
an unsuccessful send. This is a bit confusing as all my other network
communication seems to work just fine. I can receive datagrams on the
same socket with no problem.
Another thing that might be of some use - when I was building Qt
itself, I could not compile with the OS X 10.4 SDK as I got errors
from the linker. I was forced to use the 10.5 SDK which compiled with
no complaints.
Any thoughts on what might be going wrong? Thanks!
Liam
--
[ signature omitted ]