Files
showbridge-docs/src/content/docs/modules/net/udp/server.md
T
2026-03-26 18:07:35 -05:00

628 B

title, tableOfContents, sidebar
title tableOfContents sidebar
UDP Server false
label order
Server 2

The net.udp.server module emits a message for every incoming UDP datagram.

  • type: net.udp.server
  • params:
    • ip: (optional) IP address to bind the UDP server to, if left out it will listen on all interfaces
    • port: UDP port to listen on
    • bufferSize: (optional) Size of the read buffer for incoming UDP datagrams, defaults to 2048

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