Sends data asynchronously to a connected SecureSocket.
[Visual Basic]
Overrides Public Function BeginSend( _
ByVal buffer As Byte(), _
ByVal offset As Integer, _
ByVal size As Integer, _
ByVal socketFlags As SocketFlags, _
ByVal callback As AsyncCallback, _
ByVal state As Object _
) As IAsyncResult
An IAsyncResult that references the asynchronous send.
Exception Type | Condition |
---|---|
ArgumentNullException | buffer is a null reference (Nothing in Visual Basic). |
SocketException | An operating system error occurs while accessing the SecureSocket. |
ArgumentOutOfRangeException | The specified offset or size exceeds the size of buffer. |
ObjectDisposedException | The SecureSocket has been closed. |
SecurityException | An error occurred while encrypting the data. |
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace