SimpleUDPDocumentation

Configure UDP Receive and Send Channels

Predefine channels in Project Settings

In Project Settings → SimpleUDP Settings, add receive or send channels. You can also add or update channels at runtime.

Receive channels and address filters

FieldExampleDescription
Channel NameDefaultRecvChannel name used in Blueprint
Bind Address0.0.0.0:9000Local IP and port to listen on
Max Receive Bytes1024Max packet size per receive
Filter ModeNone / Whitelist / BlacklistIP filtering mode
Whitelist / Blacklist["192.168.1.0/24"]Supports CIDR format

Max Receive Bytes defaults to 1024 bytes. If a single UDP datagram in your protocol may exceed 1024 bytes, increase this value in the receive channel configuration before receiving; otherwise, the datagram may not be received completely.

Send channels and ports

FieldExampleDescription
Channel NameDefaultSendChannel name
Target Addresses["255.255.255.255:9000"]List of destination IP:Port
Fixed Port0 (default)Local bind port for sending socket (0 = auto)
Max Send Bytes1024Max size per packet

Max Send Bytes defaults to 1024 bytes. If a single UDP datagram in your protocol may exceed 1024 bytes, increase this value in the send channel configuration before sending; otherwise, only data up to the configured limit will be sent.

Read and update channels in Blueprint

Before updating, use the matching getter to see whether the channel exists and read its current settings. Read it again after the update and check the name, addresses, and port so you can catch changes to the wrong channel.

NodeDescription
UpdateReceiveChannelConfigCreate/update a receive channel (rebinding if needed)
UpdateSendChannelConfigCreate/update a send channel, supports FixedPort ✅
GetReceiveChannelConfigGet one receive channel config
GetSendChannelConfigGet one send channel config
GetAllReceiveChannelConfigGet all receive channel configs
GetAllSendChannelConfigGet all send channel configs

Example: update a receive channel

DynamicAddOrUpdateReceiveChannelConfig

The plugin rebuilds the socket when it needs to rebind. These calls have no required order.

The two booleans control whether to override existing channels or add new ones.

Example: update a send channel

DynamicUpdateSendChnnelConfig

Send sockets only rebuild if FixedPort is different.

The two booleans behave the same as receive config.

Parse endpoints and check CIDR ranges

NodeDescription
ParseEndpointParse "127.0.0.1:9000" to IP and port
IsIPInCIDRCheck if an IP is in a CIDR block

Address and port limits

  • Only IPv4 is supported (no IPv6 or domain resolution)
  • Valid port range: 0~65535, where 0 means auto-assign
  • Do not bind the same port in different channels unless the socket is released

Blueprint function overview

ShowAllFuntion