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(const char* ip) throw (std::logic_error);
31 //IPAddr(const std::string& ip) throw (std::logic_error);
33 /// Operador de casteo a unsigned
34 operator unsigned () const;
36 /// Operador de casteo a std::string
37 operator std::string () const;
41 std::ostream& operator<< (std::ostream& os, const IPAddr& ip);
45 // vim: set et sw=4 sts=4 :