Stevens Institute of Technology - Department of Computer Science

CS631 Week 09 Checkpoint

To help you get the most out of this class, please fill out this short form after completing the materials and exercises for week 09.


Please enter your full name:

Please enter your Stevens username:

Sockets in the UNIX domain can be used for communications between unrelated processes. But can you also use a socket for communication between related processes? Can you create a socket, then fork, then communicate via that file descriptor?

Can you have multiple processes using the same socket to send data to a single reader?

When should you call htons(3)/ntohs(3), when htonl(3)/ntohl(3)?

How does streamread.c handle multiple simultaneous connections?