Method | Description | |
---|---|---|
CheckConnection ( ) : uint |
Check SNI handle connection
|
|
DisableSsl ( ) : void |
Disable SSL
|
|
Dispose ( ) : void |
Dispose object
|
|
EnableSsl ( uint options ) : uint |
Enable SSL
|
|
KillConnection ( ) : void |
Test handle for killing underlying connection
|
|
Receive ( SNIPacket &packet, int timeoutInMilliseconds ) : uint |
Receive a packet synchronously
|
|
ReceiveAsync ( SNIPacket &packet ) : uint |
Receive a packet asynchronously
|
|
SNITCPHandle ( string serverName, int port, long timerExpire, object callbackObject, bool parallel ) : System.IO |
Constructor
|
|
Send ( SNIPacket packet ) : uint |
Send a packet synchronously
|
|
SendAsync ( SNIPacket packet, SNIAsyncCallback callback = null ) : uint |
Send a packet asynchronously
|
|
SetAsyncCallbacks ( SNIAsyncCallback receiveCallback, SNIAsyncCallback sendCallback ) : void |
Set async callbacks
|
|
SetBufferSize ( int bufferSize ) : void |
Set buffer size
|
Method | Description | |
---|---|---|
ConnectAsync ( IPAddress serverAddresses, int port ) : Task |
||
ConnectAsync ( string serverName, int port ) : Task |
||
ReportErrorAndReleasePacket ( SNIPacket packet, Exception sniException ) : uint | ||
ReportErrorAndReleasePacket ( SNIPacket packet, uint nativeError, uint sniError, string errorMessage ) : uint | ||
ReportTcpSNIError ( Exception sniException ) : uint | ||
ReportTcpSNIError ( uint nativeError, uint sniError, string errorMessage ) : uint | ||
ValidateServerCertificate ( object sender, |
Validate server certificate callback
|
public Receive ( SNIPacket &packet, int timeoutInMilliseconds ) : uint | ||
packet | SNIPacket | SNI packet |
timeoutInMilliseconds | int | Timeout in Milliseconds |
return | uint |
public ReceiveAsync ( SNIPacket &packet ) : uint | ||
packet | SNIPacket | SNI packet |
return | uint |
public SNITCPHandle ( string serverName, int port, long timerExpire, object callbackObject, bool parallel ) : System.IO | ||
serverName | string | Server name |
port | int | TCP port number |
timerExpire | long | Connection timer expiration |
callbackObject | object | Callback object |
parallel | bool | |
return | System.IO |
public Send ( SNIPacket packet ) : uint | ||
packet | SNIPacket | SNI packet |
return | uint |
public SendAsync ( SNIPacket packet, SNIAsyncCallback callback = null ) : uint | ||
packet | SNIPacket | SNI packet |
callback | SNIAsyncCallback | Completion callback |
return | uint |
public SetAsyncCallbacks ( SNIAsyncCallback receiveCallback, SNIAsyncCallback sendCallback ) : void | ||
receiveCallback | SNIAsyncCallback | Receive callback |
sendCallback | SNIAsyncCallback | Send callback |
return | void |
public SetBufferSize ( int bufferSize ) : void | ||
bufferSize | int | Buffer size |
return | void |