Port (UdpSocket property)

From m204wiki
Jump to navigation Jump to search

Remote host IP port number (UdpSocket class)

[Introduced in Sirius Mods 8.0]


Syntax

%currentPortNumber = udpSocket:Port udpSocket:Port = newPortNumber

Syntax terms

%portNumber A numeric variable to receive the number of udpSocket's remote target port.
udpSocket A UdpSocket object.

Usage notes

Examples

For UdpSocket examples of interest, see the "Examples" section of the UdpSocket New method.

See also