package tcpip

  1. Overview
  2. Docs
OCaml TCP/IP networking stack, used in MirageOS

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-7.1.2.tbz
sha256=96b6aeafa35f143f7275d1becb6d639472adf3680b8180416de765b6581c466d
sha512=3f873c986de5c58df72db2953c6b2a6319963dbbbd0781b55c2878fd1eaa081ebb7cecbee595db7cb3680a6f438904f98cb69ca17e70c7a6d2d1f61277e929bd

doc/tcpip.udp/Udp_packet/Unmarshal/index.html

Module Udp_packet.UnmarshalSource

Sourcetype error = string
Sourceval of_cstruct : Cstruct.t -> (t * Cstruct.t, error) result

of_cstruct buf attempts to interpret buf as a UDP header. If successful, it returns Ok (header, payload), although payload may be an empty Cstruct.t .

OCaml

Innovation. Community. Security.