Listener externalized

This commit is contained in:
Thulinma 2016-10-27 10:52:11 +02:00
parent 3a0beea1fc
commit 374c9fd0ff
3 changed files with 7 additions and 2 deletions

View file

@ -55,6 +55,10 @@ namespace Mist{
}
sentHeader = false;
}
void Output::listener(Util::Config & conf, int (*callback)(Socket::Connection & S)){
conf.serveForkedSocket(callback);
}
void Output::setBlocking(bool blocking){
isBlocking = blocking;