Port (UdpSocket property): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Usage notes) |
||
Line 16: | Line 16: | ||
==Usage notes== | ==Usage notes== | ||
<ul> | |||
<li><var>Port</var> is a read-only property: Once a port is specified for a <var>UdpSocket</var> object (by a <var>Port</var> parameter setting on the <var>[[New (UdpSocket constructor)|New]]</var> method that created the <var>UdpSocket</var> object), the port cannot be changed later. | |||
</ul> | |||
==Examples== | ==Examples== |
Revision as of 22:37, 10 December 2012
Remote host IP port number (UdpSocket class)
[Introduced in Sirius Mods 8.0]
This page is under construction.
Syntax
%currentPortNumber = udpSocket:Port udpSocket:Port = newPortNumber
Syntax terms
%portNumber | number |
---|---|
udpSocket | UdpSocket object |
Usage notes
- Port is a read-only property: Once a port is specified for a UdpSocket object (by a Port parameter setting on the New method that created the UdpSocket object), the port cannot be changed later.
Examples
For UdpSocket examples of interest, see the "Examples" section of the UdpSocket New method.