4D Internet Commands v16

TCP_SendBLOB

Home

 
4D Internet Commands v16
TCP_SendBLOB

TCP_SendBLOB 


 

TCP_SendBLOB ( tcp_ID ; blobToSend ) -> Funktionsergebnis 
Parameter Typ   Beschreibung
tcp_ID  Lange Ganzzahl in Reference to an open TCP session
blobToSend  BLOB in Blob to send
Funktionsergebnis  Ganzzahl in 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)



Siehe auch 

TCP_Listen
TCP_Open
TCP_ReceiveBLOB
TCP_Send

 
EIGENSCHAFTEN 

Produkt: 4D Internet Commands
Thema: IC TCP/IP
Nummer: 88888

 
GESCHICHTE 

Erstellt: 4D Internet Commands 6.7

 
ARTIKELVERWENDUNG

4D Internet Commands ( 4D Internet Commands v16)