#include <sys/types.h>
#include <string>
+#include <set>
#include "server.hxx"
#include "socket_handler.hxx"
private:
fd_set connection_set;
std::string unix_path;
+ std::set<int> sockets_set;
void start_listening();
~socket_server();
bool fill_buffer(long long usec_timeout=-1,long long* usec_timeout_remaining=NULL);
+ std::set<int> get_sockets_set()
+ { return sockets_set; };
};
/** @brief Socket based connection
{ socket_write(data); }
public:
- bool fill_buffer(long long usec_timeout=-1,long long* usec_timeout_remaining=NULL)
- { return socket_handler::fill_buffer(buffer,usec_timeout,usec_timeout_remaining); }
+ bool fill_buffer(long long usec_timeout=-1,long long* usec_timeout_remaining=NULL);
virtual void close();
};