New (UdpSocket constructor): Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Template:UdpSocket:New subtitle}} | {{Template:UdpSocket:New subtitle}} | ||
This | New creates an instance of a UdpSocket object. This object can be used to exchange messages with a remote host using a Janus client socket ([[JANUS DEFINE#type|CLSOCKU]]) port. | ||
==Syntax== | ==Syntax== | ||
{{Template:UdpSocket:New syntax}} | {{Template:UdpSocket:New syntax}} |
Revision as of 16:55, 22 April 2012
Create a UdpSocket object (UdpSocket class)
[Introduced in Sirius Mods 8.0]
New creates an instance of a UdpSocket object. This object can be used to exchange messages with a remote host using a Janus client socket (CLSOCKU) port.
Syntax
%udpSocket = [%(UdpSocket):]New[( [ClientPort= string], [LocalHost= string], - [LocalPort= number], [Host= string], - [Port= number])]
Syntax terms
%outUdpSocket | udpSocket |
---|---|
[%(UdpSocket):] | The optional class name in parentheses denotes a Constructor. See "Usage notes", below, for more information about invoking a Constructor. |
ClientPort | string |
LocalHost | string |
LocalPort | number |
Host | string |
Port | number |