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