buggy_openssl_with_fullduplex/client.h
2013-09-09 15:11:51 +02:00

26 lines
426 B
C++

#ifndef _SSLCLIENT_H_
#define _SSLCLIENT_H_
#include <boost/thread/thread.hpp>
#include <openssl/ssl.h>
#include "ssl_process.h"
class Client : public SSLProcess
{
boost::thread* _sender;
boost::thread* _receiver;
int _handler;
void receive();
void renegotiate();
public:
Client()
: SSLProcess(false){};
void init();
void connect();
void start();
};
#endif /* _SSLCLIENT_H_ */