package tcpip
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OCaml TCP/IP networking stack, used in MirageOS
Install
dune-project
Dependency
Authors
Maintainers
Sources
tcpip-9.0.0.tbz
sha256=59377ed359080d8da94aec91474a533bad955c12be79827bec853ccb496d659a
sha512=3f2ed5cbd5bdcd9a664e9ee0b7dbfc65b0a698e6c4bb77ee6a85a139b18cdee24415d76fb821466a9aff2e390318a8657b83871768c259557f25684ab6ccf83b
doc/tcpip.udp/Udp/Make/index.html
Module Udp.MakeSource
Parameters
module IP : Tcpip.Ip.SSignature
include Tcpip.Udp.S with type ipaddr = IP.ipaddr
The type for UDP errors.
The type representing the internal state of the UDP layer.
Disconnect from the UDP layer. While this might take some time to complete, it can never result in an error.
The type for callback functions that adds the UDP metadata for src and dst IP addresses, the src_port of the connection and the buffer payload of the datagram.
listen t ~port callback executes callback for each packet received on port.
input t demultiplexes incoming datagrams based on their destination port.
Source
val write :
?src:ipaddr ->
?src_port:int ->
?ttl:int ->
dst:ipaddr ->
dst_port:int ->
t ->
Cstruct.t ->
(unit, error) result Lwt.twrite ~src ~src_port ~ttl ~dst ~dst_port udp data is a task that writes data from an optional src and src_port to a dst and dst_port IP address pair. An optional time-to-live (ttl) is passed through to the IP layer.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page