ITcpConnection.Receive (METH)
METHOD Receive : ERROR_ID
Method to receive the data as a stream from an established TCP connection
- InOut:
Scope
Name
Type
Comment
Return
ReceiveInput
DataPOINTER TO BYTE
Pointer to the memory size where the data will be stored
SizeUDINTSize of the datat to be received - maximum size of TCP packet is 64kB = 65 535 Bytes
Output
RecvBytesDINTNumber of received bytes that has been read from the TCP stream
AddErrNoRTS_IEC_RESULTAdditional error number gives information about error from SysSock2Close –> please see CmpErrors.Errors