1 #ifndef CARMA_UI_RTD_SENDERADDRESS_H
2 #define CARMA_UI_RTD_SENDERADDRESS_H
22 #include <netinet/in.h>
87 std::string netAddress;
89 std::string domainName;
90 std::string serverHostName_;
91 std::string serverDomainName_;
93 struct sockaddr_in sin;
102 #endif // CARMA_UI_RTD_SENDERADDRESS_H
int getLocalAddress() const
Return the local address.
std::string getDomainName() const
Get the domain name.
SenderAddress & operator=(const SenderAddress &s)
Allow initialize by assignment.
SenderAddress stores and makes available peer information for the opposite (client) end of a connecte...
SenderAddress(int fd)
There is no default constructor.
std::string getHostName() const
Full host name, including domain.
std::string getNetAddress() const
Return a character string representation of the IP address in the standard 'dot' format - i...
std::string getServerDomainName() const
Get server's domain name.
int getPortAddress() const
Return the port.
std::string getServerHostName() const
Get server's address.