Ends a pending asynchronous read.
The number of bytes received.
To maintain the asynchronous nature of the operation, call this method from the callback delegate.
You can pass either the IAsyncResult returned from
BeginReceive or the callback delegate used as an input parameter to
BeginReceive as the
The EndReceive method blocks until the read ends.
This method frees any resources allocated by the BeginReceive method.
Please note that you should not call this method for SSLSocket class but for derived classes only.