Plasma GitLab Archive
Projects Blog Knowledge

Class type Uq_engines.client_socket_connector


class type client_socket_connector = object .. end
This class type provides engines to connect to a service. In order to get and activate such an engine, call connect.

method connect : connect_address ->
Unixqueue.event_system -> connect_status engine
Instantiates an engine that connects to the socket given by the 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.

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml