ReceiveSocketUDP (open)

UDPReceive is used to receive a datagram over UDP

Syntax

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

RECORD FUNCTION ReceiveSocketUDP(INTEGER connectionid)

Parameters

INTEGER connectionid

ID of connection to receive from

Return value

RECORD

Received data

data

Received data

ip

Remote IP address

port

Remote port