Task: Receive Challenges
Navigate to labs/lab-10/tasks/receive-challenges and run make to generate the support directory. In this task, we will review all the IPC methods we have explored, including anonymous pipes, named pipes (FIFOs), UNIX sockets, and network sockets. Each challenge involves building a communication channel using the specified IPC method.
-
Complete the TODOs in
support/receive_pipe.c, then compile and run the executable. If the challenge is completed successfully, you should see the messageFlag is .... -
Complete the TODOs in
support/receive_fifo.c, then compile and run the executable. You will need to run thesend_fifoexecutable while your process is running to reveal the flag. -
Complete the TODOs in
support/receive_unix_socket.c, then compile and run the executable. You will need to run thesend_unix_socketexecutable while your process is running to reveal the flag. -
Complete the TODOs in
support/receive_net_dgram_socket.c, then compile and run the executable. You will need to run thesend_net_dgram_socketexecutable while your process is running to reveal the flag.