[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Having a problem with QTcpSocket
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2009-11-26 17:38:19
Message-ID: 1f8962276a5b4bddc4f2416284782699 () localhost
[Download RAW message or body]
On Mon, 23 Nov 2009 21:01:38 +0100, "Hans-Peter Jansen" <hpj@urpla.net>
wrote:
> On Monday 23 November 2009, 19:39:36 Nick Gaens wrote:
>> Hans-Peter Jansen schreef:
>>
>> Hmm.. That doesn't seem to work :-S..
>>
>> self.server.listen(QtNetwork.QHostAddress.Any, 55555):
>> TypeError: argument 1 of QTcpServer.listen() has an invalid
>> type
>
> It's not that uncommon. Try:
>
> self.listen(QtNetwork.QHostAddress(QtNetwork.QHostAddress.Any), 55555)
>
> Phil, is it possible to eliminate this useless wrapper?
...tonight's snapshot.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic