Documentation
¶
Overview ¶
Package hbmcast implement a hb multicast driver
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MaxMessages is the maximum number of messages from a source MaxMessages = 10 // MaxFragments is the maximum number of fragments when Tx split the message // into fragments. MaxFragments = 200 // MaxChunkSize is the maximum size of chunk in a fragment MaxChunkSize = 50 * 1024 // MaxDatagramSize is the maximum size of a datagram to read MaxDatagramSize = 60 * 1024 )
Functions ¶
Types ¶
type T ¶
T is the multicast heartbeat
The maximum size of messages that this heartbeat is able to send and receive depends on var Max... values
The maximum size of hb message to send is MaxFragments * MaxChunkSize: 10M
The maximum size of hb message to receive is MaxFragments * MaxDatagramSize: 12M
The maximum total data size from a source is MaxMessages * MaxFragments * MaxDatagramSize: 100M
Click to show internal directories.
Click to hide internal directories.