X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/9145fe7228349a5f457d65f33b7888d2b69b6306..HEAD:/practicas/pipi/src/test_send.cpp?ds=sidebyside diff --git a/practicas/pipi/src/test_send.cpp b/practicas/pipi/src/test_send.cpp index 618b862..5b78b2c 100644 --- a/practicas/pipi/src/test_send.cpp +++ b/practicas/pipi/src/test_send.cpp @@ -1,5 +1,5 @@ -#include "dev.h" +#include "devque.h" #include #include #include @@ -10,9 +10,9 @@ int main() { - int que_id = msgget(DEV_DEFAULT_KEY, IPC_CREAT | 0666); + int que_id = msgget(DEVQUE_DEFAULT_KEY, IPC_CREAT | 0666); assert(que_id != -1); - Dev dev(1234); + DevQue dev(1234); dev.transmit("hola mundo", 4321); std::cout << "Enviado 'hola mundo' a 4321\n"; return 0;