close(sfd);
ResolvProtoRequest rpr(cfd);
std::cout << "Recibimos: " << rpr << "\n";
- ResolvProtoResponse rps(ResolvProtoResponse::RET_OK);
+ ResolvProtoResponse rps(ResolvProtoResponse::R_A, 600);
rps.ips.push_back(IPAddr("10.10.10.2"));
rps.ips.push_back(IPAddr("100.20.45.21"));
rps.ips.push_back(IPAddr("230.23.62.189"));