UDP_ReceiveBLOBFrom

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

version 11


UDP_ReceiveBLOBFrom (udp_ID; hostName; remotePort; blob) Integer

ParameterTypeDescription
udp_IDLongintUDP socket reference
hostNameStringName or IP address of server(s) from which to receive BLOB
Name or IP address of server that responds
remotePortIntegerRemote port to connect to (0=any)
blobBLOBBLOB received
Function resultIntegerError code

Description

The UDP_ReceiveBLOBFrom command can be used to receive a BLOB that is sent via the udp_ID socket.

hostName is the name or IP address of the server where the BLOB will be received. (You can pass either a specific IP address or a broadcast address). This parameter then receives the name or IP address of the server that responds.

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

The BLOB received is returned in the blob parameter.

See Also

UDP_ReceiveFrom, UDP_SendBLOBTo.


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