Skip to content

UDP Server Node

Web/UDP

UDP Server

Binds a UDP socket. Typed lifecycle pins describe the socket; incoming datagrams are delivered to the referenced on-message handler.

udp_serverwebLong running
Inputs2
Outputs5
Security exposure4/10
Packageweb

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
4/10Medium
PrivacyPotential sensitivity of processed data.
3/10High
PerformanceRuntime or resource pressure.
2/10High
GovernancePolicy, audit, or compliance impact.
5/10Medium
ReliabilityOperational stability considerations.
3/10High
CostExternal or compute cost impact.
0/10High

Input Pins

2

Execute

Execution
exec_in

Start the UDP server

Config

Struct
config

UDP server configuration

UdpServerConfigUdpServerConfig3 fields
hoststringrequired
portinteger:uint16required
format uint16min 0max 65535
timeout_secondsinteger:uint64
format uint64default 0min 0
Schema enforced

Output Pins

5

On Listening

Execution
on_listening

Fires when the socket is bound and ready

Session

Struct
session

UDP server socket session

UdpSessionUdpSession2 fields
ref_idstringrequired
local_addrstringrequired
Schema enforced

Local Addr

String
local_addr

Bound local socket address

On Close

Execution
on_close

Fires when the server stops

Error

Execution
exec_error

Fires if the socket fails to bind

Node Info

Internal name
udp_server
Category
Web/UDP
Function references
Can reference functions