Plasma GitLab Archive
Projects Blog Knowledge

Class Netpop.connect

class connect : ?proxy:#Uq_engines.client_endpoint_connector -> Uq_engines.connect_address -> float -> client
connect addr timeout: Connects with the server at addr, and configure that I/O operations time out after timeout seconds of waiting.

Example:

  let addr =
    `Socket(`Sock_inet_byname(Unix.SOCK_STREAM, "www.domain.com", 110),
            Uq_engines.default_connect_options) in
  let client =
    new Netpop.connect addr 60.0


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