Reactor.connectionToHost

Creates a new out-bound connection to the given host and port. <p> This method will cause Reactor to set up a network connection to the host and create a Connection for it. @param host the host to connect to (e.g. "localhost") @param port the port used for the connection. @param handler a handler that is notified when events occur for the connection. @return the newly created connection object.

interface Reactor
connectionToHost
(
string host
,
int port
,)

Meta