4D Internet Commands v14

UDP_SendTo

Home

 
4D Internet Commands v14
UDP_SendTo

UDP_SendTo 


 

UDP_SendTo ( udp_ID ; hostName ; remotePort ; sendText ) -> Function result 
Parameter Type   Description
udp_ID  Longint in UDP socket reference
hostName  String in Name or IP address of server
remotePort  Integer in Remote port to connect to (0=any)
sendText  Text in Text to be sent
Function result  Integer in Error code

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.

 
PROPERTIES 

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

 
HISTORY 

Created: 4D Internet Commands v11

 
SEE ALSO 

UDP_ReceiveFrom
UDP_SendBLOBTo

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)