###Function###
UDPOpen

###Description###
Open a socket connected to an existing server .

###Syntax###
UDPOpen ( IPAddr, port [, flag = 0] )


###Parameters###
@@ParamTable@@
IPAddr
	Internet Protocol dotted address(IpV4) as "192.162.1.1".
port
	port on which the created socket will be connected.
flag
	[optional]
		0 (Default) - No additional options are set.
		1 - Allow the broadcasting on the address "255.255.255.255".
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	an array : $aArray[1] contains the real socket, $aArray[2] contains the specified IP address and $aArray[3] contains the port. We need this information in subsequent calls to <a href="UDPSend.htm">UDPSend()</a>, where we pass this socket structure/array.
Failure:	$aArray[0]=0 and set the @error flag to non-zero.
@error:	windows API WSAGetError return value (see <a href="http://msdn.microsoft.com/en-us/library/ms740668.aspx">MSDN</a>).
@@End@@


###Remarks###
This function is used by a client to communicate with the server.


###Related###
UDPBind, UDPSend, UDPCloseSocket, UDPRecv


###Example###
@@IncludeExample@@
