Plasma GitLab Archive
Projects Blog Knowledge

Class Netsmtp.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.


  let addr =
    `Socket(`Sock_inet_byname(Unix.SOCK_STREAM, "", 25),
            Uq_engines.default_connect_options) in
  let client =
    new Netsmtp.connect addr 60.0

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