Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
UDP_SendTo
|
UDP_SendTo ( udp_ID ; hostName ; remotePort ; sendText ) -> Funktionsergebnis | ||||||||
Parameter | Typ | Beschreibung | ||||||
udp_ID | Lange Ganzzahl |
![]() |
UDP socket reference | |||||
hostName | String |
![]() |
Name or IP address of server | |||||
remotePort | Ganzzahl |
![]() |
Remote port to connect to (0=any) | |||||
sendText | Text |
![]() |
Text to be sent | |||||
Funktionsergebnis | Ganzzahl |
![]() |
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.
Produkt: 4D
Thema: IC UDP
Nummer:
88848
Erstellt: 4D Internet Commands v11
4D Internet Commands ( 4D v20 R7)