From fffd213c8cba2135afda493d797c41c10354770e Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sat, 12 Apr 2008 11:38:42 +0000 Subject: big svn cleanup --- muxSocket.cpp | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 muxSocket.cpp (limited to 'muxSocket.cpp') diff --git a/muxSocket.cpp b/muxSocket.cpp deleted file mode 100644 index 0e0a43f..0000000 --- a/muxSocket.cpp +++ /dev/null @@ -1,49 +0,0 @@ -#include -#include -#include -#include - -#include "anymuxOptions.h" - -#include "Sockets/Utility.h" -#include "muxSocket.h" - - -#ifdef SOCKETS_NAMESPACE -using namespace SOCKETS_NAMESPACE; -#endif // SOCKETS_NAMESPACE - - -MuxSocket::MuxSocket(ISocketHandler& h) : TcpSocket(h), filename_(gOpt.getFileName()) -{ - SetConnectTimeout(12); -} - - -void MuxSocket::OnAccept() -{ - std::ifstream file(filename_.c_str()); - if( file.is_open() ) - { - std::string line; - while( !file.eof() ) - { - getline( file, line ); - Send( line ); - } - file.close(); - } - - //TODO Locking here -} - -//void StatusSocket::InitSSLServer() -//{ -// InitializeContext("server.pem", "keypwd", SSLv23_method()); -//} -// -// -//void StatusSocket::Init() -//{ -// EnableSSL(); -//} -- cgit v1.2.3