| 4D v18TCP_SendBLOB | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D v18
 TCP_SendBLOB 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TCP_SendBLOB ( tcp_ID ; blobToSend ) -> Funktionsergebnis | ||||||||
| Parameter | Typ | Beschreibung | ||||||
| tcp_ID | Lange Ganzzahl |   | Reference to an open TCP session | |||||
| blobToSend | BLOB |   | Blob to send | |||||
| Funktionsergebnis | Ganzzahl |   | Error Code | |||||
The TCP_SendBLOB command sends data to the TCP session designated by tcp_ID. This command performs the same action as TCP_Send, except that it will send a BLOB instead of a text, which allows bypassing the 32K text limitation. Using this command, you can send binary objects.
tcp_ID is a long integer reference to an open TCP session as established with either the TCP_Open or TCP_Listen command.
blobToSend is the BLOB to be sent to the TCP session referenced by tcp_ID.
Note regarding Platform Independence: If you exchange BLOBs between Macintosh and PC platforms, it is up to you to manage byte swapping issues if necessary.
This example will send a BLOB to the TCP session:
 C_BLOB($Blob_Send)
 C_TEXT(v_Txt_Send)
 TEXT TO BLOB(v_Txt_Send;$Blob_Send;Text without length;*)
 $err:=TCP_SendBLOB(v_tcp_ID;$Blob_Send)
	Produkt: 4D
	Thema: IC TCP/IP
	Nummer: 
        88888
        
        
        
	
	Erstellt: 4D Internet Commands 6.7
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Internet Commands ( 4D v18)
	
	
 Fehler melden
Fehler melden