RDT_Base.ReceiveBytes (METH)ΒΆ
METHOD ReceiveBytes : NBS.ERROR
It receives data from an active conncection
- InOut:
Scope
Name
Type
Comment
Return
ReceiveBytesNBS.ERRORInput
itfConnectionNBS.IConnectionConnection to use
pData__XWORDPointer where to write the data received
diByteWaitDINTHow many data waiting for (the above buffer must be large enought)
tTimeoutTIMEReceiving timeout
xNoBlockBOOLExit in case of no data in the socket
Output
diCountDINTHow many data received