Listener externalized
This commit is contained in:
parent
3a0beea1fc
commit
374c9fd0ff
3 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue