Host (UdpSocket property): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Template:UdpSocket:Host subtitle}} | {{Template:UdpSocket:Host subtitle}} | ||
==Syntax== | ==Syntax== | ||
Line 21: | Line 19: | ||
==Usage notes== | ==Usage notes== | ||
<ul> | <ul> | ||
<li> | <li><var>Host</var> is a read-only property: Once a host is specified for a <var>UdpSocket</var> object (by a <var>Host</var> parameter setting on the <var>[[New (UdpSocket constructor)|New]]</var> method that created the <var>UdpSocket</var> object), the host cannot be changed later. | ||
the | |||
</ul> | </ul> | ||
Revision as of 22:15, 10 December 2012
Remote host IP address (UdpSocket class)
[Introduced in Sirius Mods 8.0]
Syntax
%currentIpAddress = udpSocket:Host udpSocket:Host = newIpAddress
Syntax terms
%currentIpAddress | A string to receive the IP address |
---|---|
udpSocket | A UdpSocket object. |
newIpAddress | A string that identifies the IP address |
Usage notes
- Host is a read-only property: Once a host is specified for a UdpSocket object (by a Host parameter setting on the New method that created the UdpSocket object), the host cannot be changed later.
Examples
For UdpSocket examples of interest, see the "Examples" section of the UdpSocket New method.