Discuss this help topic in SecureBlackbox Forum

TElSSLSocket.EndSend

TElSSLSocket     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Ends a pending asynchronous send.

Declaration

[C#/Java]
    not available

[VB.NET]
    not available

[Pascal]
    not implemented;

[C++]
    not available

[PHP]
    not available

Parameters

  • asyncResult - Stores state information for this asynchronous operation as well as any user defined data.

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.

See also:     BeginSend    

Discuss this help topic in SecureBlackbox Forum