TCP Server¶
AIS-catcher
-S
port
[setting value]
...
You can also set up AIS-catcher as a TCP listener itself for sending NMEA messages, i.e. the program acts as a TCP server where at most 64 clients can connect to and read NMEA lines:
AIS-catcher -S 5011
JSON option or JSON_FULL option to send data packaged in a JSON object for ease of downstream processing.
Summary Settings¶
| Setting (JSON key / CLI setting name) | Type | Default | Description |
|---|---|---|---|
| port | integer | 5010 | Listen port (0-65535) |
| timeout | integer | 0 | Idle client timeout in seconds (0 = never) |
| msgformat | string | NMEA | Output format (NMEA, JSON_NMEA, JSON_FULL, etc.) |
| include_sample_start | boolean | false | Append sample-start counter to each NMEA line |
| json | boolean | false | Deprecated — sets msgformat to JSON_NMEA |
| json_full | boolean | false | Deprecated — sets msgformat to FULL |
Filter and routing settings (see Message Filtering) also apply.