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.4.tbz
sha256=154c3b18bbb019535a4f37d1fefa3c6131b636e53316a63b395d030b186f2a59
sha512=894d12ff3140b294de1129f76893b295e73093101edec137ba2b2106059081f94385e3e3420c48cde14df6aefbef333bec12f5772c1b85c7ecc73dcde9e5bb8c
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