UDP¶
AIS-catcher
-u
host
port
[setting value]
...
AIS messages can be forwarded between applications over UDP via the -u switch and as a TCP Client using -P. To send data to a port at a specific server, we can use:
AIS-catcher -u 192.168.1.235 4002
AIS-catcher -u 192.168.1.235 4002 JSON on
JSON_FULL does a full decode of the AIS message.
Another option for UDP sending via -u is BROADCAST on/off to enable sending to broadcast addresses.
Summary Settimgs¶
| Setting (JSON key / CLI setting name) | Type | Default | Description |
|---|---|---|---|
| host | string | - | Target UDP host address |
| port | string | - | Target UDP port |
| json | boolean | false | Enable JSON output format |
| json_full | boolean | false | Enable fully decoded JSON output |
| broadcast | boolean | false | Enable broadcast mode |
| reset | integer | -1 | Socket reset interval in minutes (1-1440) |
| uuid | string | - | Unique identifier (must be valid UUID) |