Class that represents a TCP socket based client.
|
__init__(self,
ipAddress,
port,
stateChanged,
isVerbose=False)
Creates a TCP socket client prepared for a connection with a
TCPServer at given address and port. |
source code
|
|
|
sendMessage(self,
msg,
responseTime=0)
Sends the information msg to the server (as String, the character
(ASCII 0) serves as end of string indicator, it is transparently
added and removed). |
source code
|
|
|
|
|
connect(self,
timeout=0)
Creates a connection to the server (blocking until timeout). |
source code
|
|
|
disconnect(self)
Closes the connection with the server. |
source code
|
|
|
|
|
|