SendSocketUDP (open)

UDPSend is used to send a datagram over UDP

Syntax

LOADLIB "wh::internet/tcpip.whlib";

BOOLEAN FUNCTION SendSocketUDP(INTEGER connectionid, STRING remoteip, INTEGER remoteport, STRING data)

Parameters

INTEGER connectionid

ID of connection to send on

STRING remoteip

Remote IP address

INTEGER remoteport

Remote port

STRING data

Data to send

Return value

BOOLEAN

TRUE if data was sent