April 2024 - This site, and Kamaelia are being updated. There is significant work needed, and PRs are welcome.

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.