package mnet
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
An implementation of TCP (Transmission Control Protocol) in OCaml for Miou & Solo5
Install
dune-project
Dependency
Authors
Maintainers
Sources
mnet-0.0.6.tbz
sha256=98230fefe2962c4e766a32f3af206a09e2b866e1cab8e82ed24d27eb580b365a
sha512=08fb6d2876efc620742cea99203ee1d4af9979ea2af916c5fd11de2ecfeb6355d694fea513a4e45f7c85089b91a0dde3dc932d5b57d03770986a1a62b40fbbae
doc/mnet.fragments/Fragments/Make/index.html
Module Fragments.MakeSource
Parameters
module Key : Hashtbl.HashedTypeSignature
The type of a mutable cache.
create ?to_expire () creates a new cache where fragments are kept until to_expire nanoseconds (defaults to 10s).
Source
val insert :
now:int ->
t ->
Key.t ->
?last:bool ->
off:int ->
len:int ->
SBstr.t ->
(Key.t * payload) optioninsert ~now cache key ?last ~off ~len slice inserts a new slice into the given cache identified by the given key. The user can specify a sub-view of the given slice and must informs if the payload is the last one or not with the last value (defaults to false).
If the cache is able to reassemble packets identified by key or if the given slice is not fragmented, it returns the key and the data. Otherwise, it returns None.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page