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.2.tbz
sha256=92b1cfec8487423090ed7abedee824ca20db86f1a7af7e308b4118bc0f774e03
sha512=ce7685c363581121c7d8ae0c33d7dff30ee2dd9dcd29d56f451ac3261b84a91d35a2fa65b31f1f321ddc4b5984e21840459c63614e81ee814f47ac24376bf018
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