OpenH323 1.18.0
Classes | Functions
transports.h File Reference
#include <ptlib/sockets.h>

Go to the source code of this file.

Classes

class  H323TransportAddress
class  H323Listener
class  H323Transport
class  H323TransportIP
class  H323ListenerTCP
class  H323TransportTCP
class  H323TransportUDP

Functions

 PLIST (H323ListenerList, H323Listener)
H323TransportAddressArray H323GetInterfaceAddresses (const H323ListenerList &listeners, BOOL excludeLocalHost=TRUE, H323Transport *associatedTransport=NULL)
H323TransportAddressArray H323GetInterfaceAddresses (const H323TransportAddress &addr, BOOL excludeLocalHost=TRUE, H323Transport *associatedTransport=NULL)
void H323SetTransportAddresses (const H323Transport &associatedTransport, const H323TransportAddressArray &addresses, H225_ArrayOf_TransportAddress &pdu)

Function Documentation

H323TransportAddressArray H323GetInterfaceAddresses ( const H323ListenerList &  listeners,
BOOL  excludeLocalHost = TRUE,
H323Transport associatedTransport = NULL 
)

Return a list of transport addresses corresponding to a listener list

Parameters:
listenersList of listeners
excludeLocalHostFlag to exclude 127.0.0.1
associatedTransportAssociated transport for precedence and translation
H323TransportAddressArray H323GetInterfaceAddresses ( const H323TransportAddress addr,
BOOL  excludeLocalHost = TRUE,
H323Transport associatedTransport = NULL 
)
Parameters:
addrPossible INADDR_ANY address
excludeLocalHostFlag to exclude 127.0.0.1
associatedTransportAssociated transport for precedence and translation
void H323SetTransportAddresses ( const H323Transport associatedTransport,
const H323TransportAddressArray &  addresses,
H225_ArrayOf_TransportAddress pdu 
)

Set the PDU field for the list of transport addresses

Parameters:
associatedTransportTransport for NAT address translation
addressesAddresses to set
pduList of PDU transport addresses
PLIST ( H323ListenerList  ,
H323Listener   
)