31 #ifndef PTLIB_PSOCKBUN_H
32 #define PTLIB_PSOCKBUN_H
47 #define PINTERFACE_MONITOR_FACTORY_NAME "InterfaceMonitor"
57 PIPSocket::InterfaceTable & interfaces)
const = 0;
81 bool runMonitorThread =
true
111 bool includeLoopBack =
false,
160 #define PDECLARE_InterfaceNotifier(cls, fn) PDECLARE_NOTIFIER2(PInterfaceMonitor, cls, fn, PInterfaceMonitor::InterfaceChange)
163 #define PCREATE_InterfaceNotifier(fn) PCREATE_NOTIFIER2(fn, PInterfaceMonitor::InterfaceChange)
191 virtual void OnInterfacesChanged(
const PIPSocket::InterfaceTable & addedInterfaces,
const PIPSocket::InterfaceTable & removedInterfaces);
306 bool includeLoopBack =
false,
338 bool reuseAddr =
false
377 PNatMethods * m_natMethods;
400 const PMonitoredSocketsPtr & sockets,
522 const PString & fixedInterface,
536 bool includeLoopBack =
false,
588 void CloseSocket(SocketInfoMap_T::iterator iterSocket);
618 bool includeLoopBack =
false,
676 #endif // PTLIB_PSOCKBUN_H