Re: [PyQt] Having a problem with QTcpSocket

2009-11-26 Thread Phil Thompson
On Mon, 23 Nov 2009 21:01:38 +0100, Hans-Peter Jansen h...@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, 5):   TypeError: argument 1 of

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Nick Gaens
Nick Gaens schreef: Phil Thompson schreef: On Sat, 21 Nov 2009 17:19:00 +0100, Nick Gaens nickga...@gmail.com wrote: Hello all, I'm trying to get two clients to speak to each other, using an instance of QtNetwork.QTcpSocket for each

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Hans-Peter Jansen
On Monday 23 November 2009, 13:27:52 Nick Gaens wrote: Nick Gaens schreef: Phil Thompson schreef: On Sat, 21 Nov 2009 17:19:00 +0100, Nick Gaens nickga...@gmail.com wrote: Hello all, I'm trying to get two clients to speak to each other, using an instance of QtNetwork.QTcpSocket for

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Nick Gaens
Hans-Peter Jansen schreef: On Monday 23 November 2009, 13:27:52 Nick Gaens wrote: Nick Gaens schreef: Phil Thompson schreef: On Sat, 21 Nov 2009 17:19:00 +0100, Nick Gaens nickga...@gmail.com wrote: Hello all, I'm trying to get two clients to speak to each other, using an

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Hans-Peter Jansen
On Monday 23 November 2009, 15:19:06 Nick Gaens wrote: Hans-Peter Jansen schreef: [...] def __init__(self):     self.server = QtNetwork.QTcpServer(self)     self.server.serverPort = 5    

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Nick Gaens
Hans-Peter Jansen schreef: On Monday 23 November 2009, 15:19:06 Nick Gaens wrote: Hans-Peter Jansen schreef: [...] def __init__(self):     self.server = QtNetwork.QTcpServer(self)     self.server.serverPort = 5

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Phil Thompson
On Mon, 23 Nov 2009 19:39:36 +0100, Nick Gaens nickga...@gmail.com wrote: Hans-Peter Jansen schreef: On Monday 23 November 2009, 15:19:06 Nick Gaens wrote: Hans-Peter Jansen schreef: [...] def __init__(self):     self.server =

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Hans-Peter Jansen
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, 5):   TypeError: argument 1 of QTcpServer.listen() has an invalid type It's not that uncommon. Try:

Re: [PyQt] Having a problem with QTcpSocket

2009-11-22 Thread Nick Gaens
Phil Thompson schreef: On Sat, 21 Nov 2009 17:19:00 +0100, Nick Gaens nickga...@gmail.com wrote: Hello all, I'm trying to get two clients to speak to each other, using an instance of QtNetwork.QTcpSocket for each client. The clients are on different computers

[PyQt] Having a problem with QTcpSocket

2009-11-21 Thread Nick Gaens
Hello all, I'm trying to get two clients to speak to each other, using an instance of QtNetwork.QTcpSocket for each client. The clients are on different computers with IP's: 192.168.1.100 and .102 On the first client, I run the code below: -- def __init__(self): self.socket

Re: [PyQt] Having a problem with QTcpSocket

2009-11-21 Thread Phil Thompson
On Sat, 21 Nov 2009 17:19:00 +0100, Nick Gaens nickga...@gmail.com wrote: Hello all, I'm trying to get two clients to speak to each other, using an instance of QtNetwork.QTcpSocket for each client. The clients are on different computers with IP's: 192.168.1.100 and .102 On the first