|
libBsdSockets
C++ Wrapper classes to the BSD Socket API
|
The private implementation of InetAddress. More...


Public Types | |
| typedef std::shared_ptr< InetAddressPimpl > | Ptr |
Public Types inherited from BsdSockets::LowLevelAddressType< Impl > | |
| typedef std::shared_ptr< LowLevelAddressType > | Ptr |
Public Types inherited from BsdSockets::LowLevelAddress | |
| typedef std::shared_ptr< LowLevelAddress > | Ptr |
Public Member Functions | |
| InetAddressPimpl (const sockaddr_in &theLowLevelAddress, const std::string &theActualAddress) | |
| const std::string & | getActualAddress () const |
| const unsigned int | getPort () const |
Public Member Functions inherited from BsdSockets::LowLevelAddressType< Impl > | |
| virtual | ~LowLevelAddressType () |
| LowLevelAddressType () | |
| LowLevelAddressType (const Impl &theLowLevelAddress) | |
| LowLevelAddressType (const LowLevelAddressType &rhs) | |
| virtual const struct sockaddr & | getSockAddr () const |
| virtual struct sockaddr & | getSockAddr () |
| virtual socklen_t | getSockAddrLen () const |
Public Member Functions inherited from BsdSockets::LowLevelAddress | |
| virtual | ~LowLevelAddress () |
Additional Inherited Members | |
Public Attributes inherited from BsdSockets::LowLevelAddressType< Impl > | |
| Impl | lowLevelAddress |
The private implementation of InetAddress.
This provides both the LowLevelAddress and the computed details of the Address such as port number and actual address matched.
The actual address may differ from the actual address due to hostname resolution, etc.
Definition at line 75 of file InetAddress.cpp.
| typedef std::shared_ptr<InetAddressPimpl> BsdSockets::InetAddressPimpl::Ptr |
Definition at line 77 of file InetAddress.cpp.
|
inline |
Create with parameters
| theLowLevelAddress | to save a copy of for later use in getSockAddr() |
| theActualAddress | the already formatted string version of the address in theLowLevelAddress |
Definition at line 84 of file InetAddress.cpp.
|
inline |
Definition at line 98 of file InetAddress.cpp.
|
inline |
Definition at line 103 of file InetAddress.cpp.