buggy_openssl_with_fullduplex/client.h

26 lines
426 B
C
Raw Normal View History

2013-09-09 14:11:51 +01:00
#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_ */