###Function###
UDPSend

###Description###
Sends data on an opened socket

###Syntax###
UDPSend ( socketarray, data)


###Parameters###
@@ParamTable@@
socketarray
	The main socket/array as returned by a <a href="UDPOpen.htm">UDPOpen</a> function.
data
	binary/string to be sent to the connected socket
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns number of bytes sent to the opened socket.
Failure:	Returns 0 and sets @error according to the WSAGetError Windows API return.
	If IPAddr is incorrect @error is set to 1.
	If  port  is incorrect @error is set to 2.
@@End@@


###Remarks###
None.


###Related###
UDPOpen, UDPBind


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