class: title # Inter-Process Communication ## CSC 213 – November 24, 2025 --- # Agenda for Today 1. Department Events 2. Upcoming Work 3. IPC Exercise 4. Wrap Up --- # Department Events ## CS Table: Arduino and Qualcomm .indent[ Tuesday, November 25th at noon in JRC 224C ] *To receive 0.25% extra credit, send an email to let me know you attended no more than 48 hours after the event.* --- class: section, blue # Upcoming Work --- # Lab: P2P **Due:** Wednesday, December 3rd by 11:59pm **Late Deadline:** Wednesday, December 10th by 11:59pm ## Q&A **What can we send through sockets?** You can transmit any bytes you want, whether they are individual characters or the bytes that make up a struct filled with all different types of data. The one thing you probably don't want to transmit is a **pointer**, since that pointer is only valid in the address space of the process that created it. --- # Project **Presentations:** Thursday, December 18th during final exam time **Implementation Due:** Friday, December 19th by 5pm *(college-mandated deadline)* I will share feedback or suggestions on project proposals in the next couple of days, but you can start on your implementations now. Keep in touch with your project groups, and make sure you're prioritizing tasks that help you cover course concepts. --- class: section, blue # Inter-Process Communication --- # Discussion: Inter-Process Communication **Questions for think, pair, share:** 1. What are the mechanisms we know of that would let two processes communicate? 2. Why would one process need to communicate with another? Try to think of at least one concrete example. 3. Given your example from question #2, which IPC mechanism would work best for this case? *Start by thinking of answers on your own. I will let you know when to start discussion.* --- class: section, green # IPC Exercise --- class: section, blue # Wrap Up --- # Reminders ## Lab The P2P lab is due the Wednesday after Thanksgiving. Make sure you have a plan to work with your group. ## Project You can start work on project implementation if you haven't already. Watch for feedback on proposals in the next couple days. ## Need Help? Instructor office hours end at 2:30pm on Tuesday. Mentors will hold office hours on Tuesday evening, but not the Wednesday before or Sunday after Thanksgiving. ## Reading I may assign a reading for Monday's class, but it will be posted by Wednesday at the latest.