August'24: Kamaelia is in maintenance mode and will recieve periodic updates, about twice a year, primarily targeted around Python 3 and ecosystem compatibility. PRs are always welcome. Latest Release: 1.14.32 (2024/3/24)

Kamaelia.Internet.ThreadedTCPClient.ThreadedTCPClient

class ThreadedTCPClient(Axon.ThreadedComponent.threadedcomponent)

ThreadedTCPClient(host,port[,chargen][,initalsendmessage]) -> threaded component with a TCP connection to a server.

Establishes a TCP connection to the specified server.

Keyword arguments: - host -- address of the server to connect to (string) - port -- port number to connect on - initialsendmessage -- to be send immediately after connection is established (default=None)

Inboxes

Outboxes

Methods defined here

Warning!

__init__(self, host, port, chargen, initialsendmessage)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

run(self)

Main (thread) loop


Feedback

Got a problem with the documentation? Something unclear, could be clearer? Want to help with improving? Constructive criticism, preferably in the form of suggested rewording is very welcome.

Please leave the feedback here, in reply to the documentation thread in the Kamaelia blog.