Home | History | Annotate | Download | only in net

Lines Matching defs:NetAddress

64 NetAddress::NetAddress() : port_(-1) {}
66 NetAddress::NetAddress(int port) : host_("127.0.0.1"), port_(port) {}
68 NetAddress::NetAddress(const std::string& host, int port)
71 NetAddress::~NetAddress() {}
73 bool NetAddress::IsValid() const {
77 std::string NetAddress::ToString() const {
81 const std::string& NetAddress::host() const {
85 int NetAddress::port() const {