Sets low-level operating modes for the VirtualSocket.
[Visual Basic]
Overridable Public Function IOControl( _
ByVal ioControlCode As Integer, _
ByVal optionInValue As Byte(), _
ByVal optionOutValue As Byte() _
) As Integer
The number of bytes in optionOutValue parameter.
The IOControl method provides low-level access to the operating system socket underlying the current instance of the VirtualSocket class. For more information about IOControl, see the WSAIoct documentation in MSDN.
Exception Type | Condition |
---|---|
SocketException | An operating system error occurs while accessing the VirtualSocket. |
ObjectDisposedException | The VirtualSocket has been closed. |
VirtualSocket Class | VirtualSocket Members | Org.Mentalis.Security.Ssl Namespace