X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/9145fe7228349a5f457d65f33b7888d2b69b6306..78d6e1ce97611abe9f0d083033197773f93c33f7:/practicas/pipi/src/test_send.cpp 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;