Use this method in synchronous mode to read the data from Connection.
Declaration
[VB.NET]
Function ReceiveData(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Size As Integer) As Integer
Function ReceiveData(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Size As Integer) As Integer
[C++]
not implemented;
not implemented;
Parameters
- Buffer - buffer for received data
- Size - maximum size of the Buffer
- StartIndex - index from which to reading data from Buffer
Return value
Returns number of bytes received
Description
Use this method when you want to read data the from Connection to Buffer in synchronous mode.