![]() |
SolarCapture C Bindings User Guide
SF-115721-CD
Issue 3
|
Export packets or messages to a shared memory channel.
This node is used in conjunction with sc_shm_import to form a unidirectional shared memory channel between two SolarCapture sessions. Packets delivered to sc_shm_export are forwarded over the channel to the connected sc_shm_import instance.
By default sc_shm_export creates a reliable channel. If packets arrive at this node before a consumer is connected, then they are buffered.
See also sc_shm_broadcast, which supports multiple consumers.
Argument | Optional? | Default | Type | Description |
---|---|---|---|---|
path | No | SC_PARAM_STR | The path prefix that should be used for creating the sc_shm_export node listening socket and shared memory files | |
max_in_flight | Yes | 100% | SC_PARAM_INT | Maximum amount of buffering that can be in flight at a time. Specified as a percentage of the incoming pool ('' suffix), or in bytes ('B', 'KiB', 'MiB' or 'GiB' suffix). |
Packets arriving on an input link named "foo" are forwarded to an output link named "foo" on the other side of the shared memory channel. Note that these named channels do not support high performance.