listen() clashes with POSIX function of the same name.
Some systems (ie MinGW) define it as a macro wrapper.
void Ipc::Port::start()
{
UdsOp::start();
- listen();
+ doListen();
}
-void Ipc::Port::listen()
+void Ipc::Port::doListen()
{
debugs(54, 6, HERE);
buf.prepForReading();
// TODO: if there was a fatal error on our socket, close the socket before
// trying to listen again and print a level-1 error message.
- listen();
+ doListen();
}
virtual bool doneAll() const; // UdsOp (AsyncJob) API
/// read the next incoming message
- void listen();
+ void doListen();
/// handle IPC message just read
virtual void receive(const TypedMsgHdr& message) = 0;