mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-22 02:47:48 +02:00
removed loop accept and connect and added more debug info #4313
This commit is contained in:
parent
d15c99f41d
commit
767802f111
3 changed files with 41 additions and 27 deletions
|
@ -18,7 +18,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "net/TCPSocket.h"
|
||||
#include "base/XBase.h"
|
||||
#include "net/XSocket.h"
|
||||
|
||||
class IEventQueue;
|
||||
class SocketMultiplexer;
|
||||
|
@ -26,10 +26,6 @@ class ISocketMultiplexerJob;
|
|||
|
||||
struct Ssl;
|
||||
|
||||
//! Generic socket exception
|
||||
XBASE_SUBCLASS(XSecureSocket, XBase);
|
||||
|
||||
|
||||
//! Secure socket
|
||||
/*!
|
||||
A secure socket using SSL.
|
||||
|
@ -42,8 +38,12 @@ public:
|
|||
ArchSocket socket);
|
||||
~SecureSocket();
|
||||
|
||||
// ISocket overrides
|
||||
void close();
|
||||
|
||||
void secureConnect();
|
||||
void secureAccept();
|
||||
bool isReady() const { return m_secureReady; }
|
||||
bool isSecureReady();
|
||||
bool isSecure() { return true; }
|
||||
UInt32 secureRead(void* buffer, UInt32 n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue