UDP_SendTo

4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 11


UDP_SendTo (udp_ID; hostName; remotePort; sendText) Integer

ParameterTypeDescription
udp_IDLongintUDP socket reference
hostNameStringName or IP address of server
remotePortIntegerRemote port to connect to (0=any)
sendTextTextText to be sent
Function resultIntegerError code

Description

The UDP_SendTo command can be used to send text data using the udp_ID socket.

hostName is the name or IP address of the server where the text will be sent.

remotePort is the number of the port to be connected to. If you pass 0, any available port will be used.

sendText is the text to be sent.

See Also

UDP_ReceiveFrom, UDP_SendBLOBTo.


4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next