Remove _t prefix from ipv4::port_t

This commit is contained in:
Danny Robson 2011-06-25 11:52:59 +10:00
parent 523e4c1ab5
commit c65141a320

4
ip.hpp
View File

@ -36,6 +36,8 @@ namespace ipv4 {
ip& operator = (const ip &); ip& operator = (const ip &);
bool operator == (const ip &) const; bool operator == (const ip &) const;
explicit operator uint32_t (void);
static ip parse (const std::string &); static ip parse (const std::string &);
static const ip LOOPBACK; static const ip LOOPBACK;
@ -43,7 +45,7 @@ namespace ipv4 {
}; };
typedef uint16_t port_t; typedef uint16_t port;
} }