#include <transports.h>
◆ OpalListenerIP() [1/2]
OpalListenerIP::OpalListenerIP |
( |
OpalEndPoint & |
endpoint, |
|
|
PIPSocket::Address |
binding = PIPSocket::GetDefaultIpAny() , |
|
|
WORD |
port = 0 , |
|
|
PBoolean |
exclusive = true |
|
) |
| |
Create a new IP listener.
- Parameters
-
endpoint | Endpoint listener is used for |
binding | Local interface to listen on |
port | TCP port to listen for connections |
exclusive | Exclusive listening mode, no other process can accept on the port |
◆ OpalListenerIP() [2/2]
- Parameters
-
endpoint | Endpoint listener is used for |
binding | Local interface to listen on |
option | OPtions for binding |
◆ GetListenerPort()
WORD OpalListenerIP::GetListenerPort |
( |
| ) |
const |
|
inline |
◆ GetLocalAddress()
Get the local transport address on which this listener may be accessed. If remoteAddress is present and is an address that requires NAT for connectivity, then the returned address is adjusted to return the external address and port.
Implements OpalListener.
Reimplemented in OpalListenerUDP.
◆ GetProtoPrefix()
virtual const char* OpalListenerIP::GetProtoPrefix |
( |
| ) |
const |
|
pure virtual |
◆ exclusiveListener
PBoolean OpalListenerIP::exclusiveListener |
|
protected |
◆ listenerPort
WORD OpalListenerIP::listenerPort |
|
protected |
◆ localAddress
PIPSocket::Address OpalListenerIP::localAddress |
|
protected |
The documentation for this class was generated from the following file: