ReceiveAllData Method
Reads data from the connection.
Object Oriented Interface
public function doReceiveAllData($size);
Procedural Interface
secureblackboxlite_dtlsclient_do_receivealldata($res, $size);
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.