package charrua-client
DHCP client implementation
Install
Dune Dependency
Authors
Maintainers
Sources
charrua-2.0.0.tbz
sha256=ecacfd0f17bdf2ba261049d2b3cc03aa473eec4a9d77b0a83c0ce2c402c512bb
sha512=9f24a36f934824581d5af9886bdd22e82a1ba0ce174d752d43de9b527392140c19b65a93b18b3ca07c441f84315fefff7002a71eebf573ce1b747e74de861a9d
doc/charrua-client.lwt/Dhcp_client_lwt/Make/index.html
Module Dhcp_client_lwt.Make
Source
Parameters
module Net : Mirage_net.S
Signature
Source
val connect :
?renew:bool ->
?xid:Cstruct.uint32 ->
?requests:Dhcp_wire.option_code list ->
Net.t ->
t Lwt.t
connect renew ~xid requests net
starts a DHCP client communicating over the network interface net
. The client will attempt to get a DHCP lease at least once, and will return any leases obtained in the stream returned by connect
. If renew
is true, which it is by default, the client will attempt to renew the lease according to the logic in RFC2131. If renew
is false, the client will cancel its listener and end the stream once the first lease has been obtained.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page