ReceiveAllData Method
Reads data from the connection.
Syntax
public fun receiveAllData(size: Int)
Remarks
Use this method to read Size bytes from the connection. The method will block until the requested number of bytes is received.
Use OutputBytes (or OutputString) to access the received data.
Use ReceiveData method to read all the data there is and return without waiting for the whole piece.