4D Internet Commands v16

UDP_ReceiveFrom

Home

 
4D Internet Commands v16
UDP_ReceiveFrom

UDP_ReceiveFrom 


 

UDP_ReceiveFrom ( udp_ID ; hostName ; remotePort ; text ) -> Function result 
Parameter Type   Description
udp_ID  Longint in UDP socket reference
hostName  Text variable in Name or IP address of server that responds
remotePort  Longint variable in Port of remote server that responds
text  Text in Text received
Function result  Integer in Error code

The UDP_ReceiveFrom command can be used to receive text that is sent via the udp_ID socket.

Pass variables in the hostName and remotePort parameters. After the command is executed, these variables will contain, respectively, the name (or IP address) and the port number of the remote server from which the text was received.

The text received is returned in the text parameter.



See also 

UDP_ReceiveBLOBFrom
UDP_SendTo

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC UDP
Number: 88846

 
HISTORY 

Created: 4D Internet Commands v11

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)