Sends data to a connected SecureSocket, starting at the indicated location in the data.
[Visual Basic]
Overrides Overloads Public Function Send( _
ByVal buffer As Byte(), _
ByVal size As Integer, _
ByVal socketFlags As SocketFlags _
) As Integer
The number of bytes sent to the SecureSocket.
| 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 size parameter exceeds the size of buffer. | 
| ObjectDisposedException | The SecureSocket has been closed. | 
| SecurityException | Unable to encrypt the data. | 
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace | SecureSocket.Send Overload List