Discuss this help topic in SecureBlackbox Forum
Ends a pending asynchronous send.
Declaration
Parameters
Return value
The number of bytes sent to the Socket on success.
Socket error otherwise.
Description
To maintain the asynchronous nature of the operation, call this method from the callback delegate.
You can pass either the IAsyncResult returned from
BeginSend or the callback delegate used as an input parameter to
BeginSend as the
asyncResult parameter.
This method frees any resources allocated by the
BeginSend method. The EndSend method blocks until the send ends.
The EndSend method frees any resources allocated by the
BeginSend method.
Please note that you should not call this method for SSLSocket class but for derived classes only.