AssertSuccess() public static method

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