31 #ifndef PTLIB_PSOCKBUN_H
32 #define PTLIB_PSOCKBUN_H
51 #define PINTERFACE_MONITOR_FACTORY_NAME "InterfaceMonitor"
74 bool runMonitorThread =
true
104 bool includeLoopBack =
false,
155 virtual void OnInterfacesChanged(
const PIPSocket::InterfaceTable & addedInterfaces,
const PIPSocket::InterfaceTable & removedInterfaces);
204 bool includeLoopBack =
false,
247 PIPSocket::InterfaceTable & interfaces)
const = 0;
306 PINDEX & lastWriteCount
321 PINDEX & lastReadCount,
328 ) { natMethod = method; }
340 bool reuseAddr =
false,
376 PINDEX & lastWriteCount
384 PINDEX & lastReadCount,
394 PINDEX & lastReadCount,
422 const PMonitoredSocketsPtr & sockets,
533 bool reuseAddr =
false,
570 PINDEX & lastWriteCount
585 PINDEX & lastReadCount,
599 void CloseSocket(SocketInfoMap_T::iterator iterSocket);
617 bool reuseAddr =
false,
627 bool includeLoopBack =
false,
664 PINDEX & lastWriteCount
679 PINDEX & lastReadCount,
699 #endif // PTLIB_PSOCKBUN_H