package charrua-client

  1. Overview
  2. Docs
DHCP client implementation

Install

Dune Dependency

Authors

Maintainers

Sources

charrua-1.6.0.tbz
sha256=1f6f7c1211a45ebbbd56a78b12fdbceaa98efae97ac3bd6f4855da47a3a3ac34
sha512=6ea3cb92efca7c33ee9aa1411223bec9045ece9939657594ebc47ae93408c4d87e8b40812751fc86555061d91ccd338b3fbcfe6059e1dd770303329b5e527a96

doc/charrua-client.mirage/Dhcp_client_mirage/Make/index.html

Module Dhcp_client_mirage.MakeSource

Parameters

Signature

Sourcetype t = (Ipaddr.V4.Prefix.t * Ipaddr.V4.t option) Lwt_stream.t
Sourceval connect : ?requests:Dhcp_wire.option_code list -> Network.t -> t Lwt.t

connect ?requests net attempts to use net to obtain a valid DHCP lease containing the DHCP option codes listed in request. If request is not specified, connect uses the default values provided by the upstream Dhcp_client implementation, which are a small set useful in establishing ipv4 connectivity. connect does not time out; it will terminate on send/receive errors or when a lease is obtained.

OCaml

Innovation. Community. Security.