12 /// Átomo de dirección IP
13 typedef unsigned char atom;
15 /// Representación interna
19 IPAddr(atom a1, atom a2, atom a3, atom a4);
25 IPAddr(std::string ip) throw (std::logic_error);
27 /// Operador de casteo a unsigned
28 operator unsigned () const;
30 /// Operador de casteo a std::string
31 operator std::string () const;
35 std::ostream& operator<< (std::ostream& os, const IPAddr& ip);
39 // vim: set et sw=4 sts=4 :