Online documentation, manuals and tutorials
< All Topics
Print

UDP In

Description

Use this action to output message received on specified UDP port.

Properties

Specific

Listen for

Enum

Select UDP or Multicast mode.

Group

EXPRESSION (string)

If Multicast mode is selected, specify multicast group you whish to join.

Local interface

EXPRESSION (string)

Specify local network interface for multicast group. If this option is not specified, the operating system will choose one interface and will add membership to it.

On port

EXPRESSION (integer)

The port from which we want to receive messages.

Using

Enum

Use IPV4 or IPV6 addresses

Inputs

seqin

SEQ | OPTIONAL

A standard sequence input.

Outputs

seqout

SEQ | OPTIONAL

A standard sequence output.

message

DATA(struct:$UDPMessage) | MANDATORY

Output to which the received message is sent. The type of message is struct:$UDPMessage with following fields:

  • payload: message payload received as blob, use Blob.toString() to convert to the string value.
  • address: remote IP address
  • port: remote IP port

Examples

  • UDP CLient
  • UDP Server
Page content