Skip to content

TCP Client

AIS-catcher -P host port [setting value] ...

To send raw NMEA as a TCP Client connecting to a listener:

AIS-catcher -P 192.168.1.235 4002
In this case, AIS-catcher acts as a TCP client and connects to the remote listener at 192.168.1.239 port 4002.

Summary Settings

Setting (JSON key / CLI setting name) Type Default Description
host string - Target TCP server host
port string - Target TCP server port
keep_alive boolean false Enable TCP keep-alive
persist boolean true Keep trying to reconnect when connection fails
json boolean false Enable JSON output format
json_full boolean false Enable fully decoded JSON output
uuid string - Unique identifier (must be valid UUID)