This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20
TCP_Send
|
TCP_Send ( tcp_ID ; sendText ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
tcp_ID | Longint |
![]() |
Reference to an open TCP session | |||||
sendText | Text |
![]() |
Text to send | |||||
Function result | Integer |
![]() |
Error Code | |||||
The TCP_Send command sends data to the TCP session designated by tcp_ID.
tcp_ID is a long integer reference to an open TCP session as established with either the TCP_Open or TCP_Listen command.
sendText is a text value to be sent to the TCP session referenced by tcp_ID.
Note: When sending non us-ascii text or large text, it is recommended to use TCP_SendBLOB because it allows a better control of text encoding.
Product: 4D
Theme: IC TCP/IP
Number:
88931
Created: 4D Internet Commands 6.5
4D Internet Commands ( 4D v20)