AssertSuccess() public static method

public static AssertSuccess ( int ret ) : int
ret int
return int
Exemplo n.º 1
0
 private void InitializeSocket(Socket socket)
 {
     OpenSslUtility.AssertSuccess(OpenSslNative.SSL_set_fd(_ssl, socket.Handle.ToInt32()));
     _socket = socket;
 }
Exemplo n.º 2
0
 public void Connect(Socket socket)
 {
     InitializeSocket(socket);
     OpenSslUtility.AssertSuccess(OpenSslNative.SSL_connect(_ssl));
 }