LocalHost (UdpSocket property): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Template:UdpSocket:LocalHost subtitle}} | {{Template:UdpSocket:LocalHost subtitle}} | ||
==Syntax== | ==Syntax== |
Revision as of 22:16, 10 December 2012
Local IP address for bound socket (UdpSocket class)
[Introduced in Sirius Mods 8.0]
Syntax
%ipAddress = udpSocket:LocalHost
Syntax terms
%ipAddress | A string to contain the returned IP address of the host to which udpSocket is bound. |
---|---|
udpSocket | A UdpSocket object. |
Usage notes
- If a local host is specified for a UdpSocket object (by a BINDADDR specification on the CLSOCKU port used for the UdpSocket, or by a LocalHost parameter setting on the New method that created the UdpSocket object), the socket only receives messages that are sent to that local host IP address.
Examples
For UdpSocket examples of interest, see the "Examples" section of the UdpSocket New method.