Host (UdpSocket property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Template:UdpSocket:Host subtitle}}
{{Template:UdpSocket:Host subtitle}}
This page is [[under construction]].


==Syntax==
==Syntax==
Line 20: Line 18:


==Usage notes==
==Usage notes==
<ul>
<li>If a host is specified for a <var>UdpSocket</var> object (by a <var>[[BINDADDR (JANUS DEFINE parameter)|BINDADDR]]</var> specification on the <var>CLSOCKU</var> port used for the <var>UdpSocket</var>, or by a <var>LocalHost</var> parameter setting on the <var>[[New (UdpSocket constructor)|New]]</var> method that created the <var>UdpSocket</var> object),
the socket only receives messages that are sent to that local host IP address.
</ul>


==Examples==
==Examples==

Latest revision as of 23:09, 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

Examples

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

See also