X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/7a01801db38786c0f1cab79b3867b8b529d5cb1c..cf90d8bc6c8e339682d96ae43959e1dabc5fefb9:/practicas/pipi/src/ipaddr.h?ds=inline diff --git a/practicas/pipi/src/ipaddr.h b/practicas/pipi/src/ipaddr.h index e6dfa5b..0c0c549 100644 --- a/practicas/pipi/src/ipaddr.h +++ b/practicas/pipi/src/ipaddr.h @@ -22,10 +22,13 @@ struct IPAddr IPAddr(atom a1, atom a2, atom a3, atom a4); /// Constructor - IPAddr(unsigned ip); + IPAddr(int ip); /// Constructor - IPAddr(std::string ip) throw (std::logic_error); + IPAddr(const char* ip) throw (std::logic_error); + + /// Constructor + //IPAddr(const std::string& ip) throw (std::logic_error); /// Operador de casteo a unsigned operator unsigned () const;