class type client_socket_connector =This class type provides engines to connect to a service. In order to get and activate such an engine, callobject
..end
connect
.method connect : connect_address ->
Unixqueue.event_system -> connect_status engine
connect_address
argument. If successful, the state of the engine
changes to `Done(status)
where status
contains the socket
details. The connection is established in the background.
If the connect address is `Socket
, the returned status will be
`Socket
;
If the address is `Command
, the returned status will be `Command
.
The close-on-exec flag of the created socket descriptor is always set.
The socket descriptor is always in non-blocking mode.