]> git.llucax.com Git - z.facultad/75.74/practicos.git/blobdiff - practicas/pipi/src/test_resolvprotos.cpp
Se vuelven para atrás los cambios de buffer y filtrado y, por el contrario, ya
[z.facultad/75.74/practicos.git] / practicas / pipi / src / test_resolvprotos.cpp
index 7286ab386515591d0be9e426ebd975b01c2ee882..54c8c1052c7b99f7198ffd21b21fd23c6962e8e0 100644 (file)
@@ -11,7 +11,7 @@ int main()
     close(sfd);
     ResolvProtoRequest rpr(cfd);
     std::cout << "Recibimos: " << rpr << "\n";
     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"));
     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"));