UDP Server
The net.udp.server module emits a message for every incoming UDP datagram.
- type:
net.udp.server - params:
- bufferSize: (optional, default
2048) the size of the buffer for incoming UDP messages - ip: (optional, default
"0.0.0.0") the IP address to bind the UDP server to - port: the port for the UDP server to listen on
- bufferSize: (optional, default
Example
Section titled “Example”Start a UDP server listening on port 8888 and only on 127.0.0.1
- id: udpServer type: net.udp.server params: ip: 127.0.0.1 port: 8888