4D v13.2UDP_ReceiveFrom |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.2
UDP_ReceiveFrom
|
UDP_ReceiveFrom ( udp_ID ; hostName ; remotePort ; text ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
udp_ID | Longint |
![]() |
UDP socket reference | |||||
hostName | String |
![]() |
Name or IP address of server | |||||
remotePort | Integer |
![]() |
Remote port to connect to (0=any) | |||||
text | Text |
![]() |
Text received | |||||
Function result | Integer |
![]() |
Error code | |||||
The UDP_ReceiveFrom command can be used to receive text that is sent via the udp_ID socket.
hostName is the name or IP address of the server where the text will be received.
remotePort is the number of the port to be connected to. If you pass 0, any available port will be used.
The text received is returned in the text parameter.
Product: 4D
Theme: IC UDP
Number:
88846
Created: 4D Internet Commands v11
UDP_ReceiveBLOBFrom
UDP_SendTo