Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
UDP_ReceiveFrom
|
UDP_ReceiveFrom ( udp_ID ; hostName ; remotePort ; Text ) -> Funktionsergebnis | ||||||||
Parameter | Typ | Beschreibung | ||||||
udp_ID | Lange Ganzzahl |
![]() |
UDP socket reference | |||||
hostName | Textvariable |
![]() |
Name or IP address of server that responds | |||||
remotePort | Variable Lange Ganzzahl |
![]() |
Port of remote server that responds | |||||
Text | Text |
![]() |
Text received | |||||
Funktionsergebnis | Ganzzahl |
![]() |
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.
Produkt: 4D
Thema: IC UDP
Nummer:
88846
Erstellt: 4D Internet Commands v11
4D Internet Commands ( 4D v20 R7)