###Function###
UDPCloseSocket

###Description###
Close a UDP socket.

###Syntax###
UDPCloseSocket ( socketarray )


###Parameters###
@@ParamTable@@
socketarray
	The socket/array as returned by a <a href="UDPBind.htm">UDPBind</a> or <a href="UDPOpen.htm">UDPOpen</a> functions.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 and sets the @error flag to no-zero.
@error:	-1, -2 or -3 invalid socketarray.
	Windows API WSAGetError return value (see <a href="http://msdn.microsoft.com/en-us/library/ms740668.aspx">MSDN</a>).
@@End@@


###Remarks###
None.


###Related###
UDPBind, UDPOpen, TCPShutdown, TCPStartup


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