Switch to: V14V13V12V11V10V9V8V7V6V5

SEND_UDP_MESSAGE

The SEND_UDP_MESSAGE statement allows you to send any string using the UDP protocol under vServer.

Syntax

__send_udp_message
	host = character_string_literal_or_var
	port = uint_or_var
	body = character_string_literal_or_var

character_string_literal_or_var
    :    character_string_literal
    |    variable_name

uint_or_var
    :    UINT
    |    variable_name

Arguments

  • HOST - IP address of the destination.
  • PORT - Destination host's port.
  • BODY - the body text of the message.

Examples

Example:

__send_udp_message
            __host '127.0.0.1'
            __port 5050
            __body 'test message'