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¶
| Key | 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) |