XNET UDP Socket Multicast Open (Write Only) VI
- Updated2025-10-07
- 3 minute(s) read
Opens a UDP multicast socket with write-only access on the port you specify.

Inputs/Outputs
stack
—
stack is the XNET IP Stack in which the new socket is opened.
local port
—
local port is the local port you want to use to send UDP datagrams. By default (0), this VI dynamically chooses an available UDP port for communication.
time-to-live
—
time-to-live Number of routers, minus 1, to forward a datagram. The time-to-live (TTL) value applies to all datagrams sent using this socket. Setting a larger TTL value than your application requires can cause high network utilization. the default value is 1. The following table lists the action that occurs to a multicast datagram when you specify a value for the time-to-live input.
error in
—
The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
local interface
—
local interface identifies a specific virtual interface in the IP Stack on which to bind the socket. The virtual interface is identified using one of the following (as returned from XNET IP Stack Get Info.vi):
This input is optional. If local interface is empty (default), the socket is bound to any virtual interface in the IP stack.
socket
—
socket is a network connection refnum that uniquely identifies the connection. Use this value to refer to this connection in subsequent VI calls.
actual local port
—
local port is the local port you want to use to send UDP datagrams. By default (0), this VI dynamically chooses an available UDP port for communication.
error out
—
The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
stack
—
local port
—
error in
—
local interface
—
socket
—
actual local port
—
error out
—