Receives SBS data via connect out or connect in. Sends SBS data via connect out or connect in.
Originally written to merge various sources of SATCOM ADS-C data.
Command Line Argument | Purpose | Default |
---|---|---|
Global Options | ||
--help , -h |
show help | |
--version , -v |
print the version | |
--numworkers |
Number of workers routing messages (defaults to number of CPUs) | # CPUs |
SBS In | ||
--bufsizein |
Buffer size per-host for incoming messages (number of messages) | 100 |
--inputconnect |
Connect to SBS data source to retrieve data. Can be specified multiple times. |
|
--inputlisten |
Listen on this TCP address for connections to receive data. | :30103 |
SBS Out | ||
--bufsizeout |
Buffer size per-host for outgoing messages (number of messages) | 100 |
--outputconnect |
Connect to SBS data source to send data. Can be specified multiple times. |
|
--outputlisten |
Listen on this TCP address for connections to send data. | :30003 |
Timeouts/Durations | ||
--reconnecttimeout |
Delay between connection attempts (seconds). | 10 |
--statsinterval |
Delay between printing per-connection statistics (minutes) | 10 |
Requires Go version 1.22.0 or higher.
make
will buildsbsmux
to./bin/sbsmux
make install
will build & install to/usr/local/sbin/sbsmux
make clean
will remove all build artifacts