6 #include "anymuxOptions.h"
8 #include "Sockets/Utility.h"
12 #ifdef SOCKETS_NAMESPACE
13 using namespace SOCKETS_NAMESPACE
;
14 #endif // SOCKETS_NAMESPACE
17 MuxSocket::MuxSocket(ISocketHandler
& h
) : TcpSocket(h
), filename_(gOpt
.getFileName())
19 SetConnectTimeout(12);
23 void MuxSocket::OnAccept()
25 std::ifstream
file(filename_
.c_str());
31 getline( file
, line
);
40 //void StatusSocket::InitSSLServer()
42 // InitializeContext("server.pem", "keypwd", SSLv23_method());
46 //void StatusSocket::Init()