[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] PyQt4 problem with QHostAddress
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2005-12-29 14:32:58
Message-ID: 20051229143258.GA4565 () morpheus
[Download RAW message or body]

Hi,

just noticed that

tcpClient = QtNetwork.QTcpSocket()
tcpClient.connectTo(QtNetwork.QHostAddress(QtNetwork.QHostAddress.LocalHost), 32784)

throws an "Unsupported socket operation".

The same line with QHostAddress(QtCore.QString("127.0.0.1"), 32784)
works.

I have no idea why the LocalHost value does not work.

Andreas

-- 
You have taken yourself too seriously.

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic