int main()
{
- ResolvProtoRequest req("hola.tito", ResolvProtoRequest::QT_RECURSIVE);
+ ResolvProtoRequest req("hola.tito", RP_REQ_RECURSIVE);
std::cout << "Request Original: " << req << "\n";
ResolvProtoRequest req2 = std::string(req);
std::cout << "Request Reconstruido: " << req2 << "\n";
- ResolvProtoResponse res(ResolvProtoResponse::R_A, 600);
+ ResolvProtoResponse res(RP_RES_A, 600);
res.ips.push_back(IPAddr("10.10.10.2"));
res.ips.push_back(IPAddr("100.20.45.21"));
res.ips.push_back(IPAddr("230.23.62.189"));