Command UDP_SendBLOBTo

4D Internet Commands

UDP_SendBLOBTo

version 11


UDP_SendBLOBTo (udp_ID; hostName; remotePort; sendBlob) Integer

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

Function result Integer Error code

Description

The UDP_SendBLOBTo command can be used to send a BLOB using the udp_ID socket.

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

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

sendBlob is the BLOB to be sent.

See Also

UDP_ReceiveBLOBFrom, UDP_SendTo.