📢 Recent Announcements
Welcome to CS 536 Fall 2025!
No PSOs and TA office hours during the first two weeks of class. Please email the instructor or attend instructor office hours for questions.
Getting CS Account:
Students registered in the course should have an account automatically set up. If you don't have access to HAAS G050 machines, contact ScienceHelp@purdue.edu.
Academic Integrity Policy:
All assignments, unless otherwise specified, are individual efforts. Using AI tools is strictly prohibited. File permissions must be set so that others cannot read your files.
Late Policy:
5 late days total for lab assignments. Unused late days convert to 15 bonus points each (max 75).
📝 TA Notes
All Labs
- For all labs, if the required function or format is not explicitly specified, you should implement it based on your best judgment. Understanding the intended functionality is more important than adhering to an exact format.
- About 5% of the lab grade will be based on coding style and submission quality. This includes writing code in a modular fashion, using meaningful variable names, providing reasonable comments, and turning in the correct and complete set of files in the required format.
- Make sure all coding problems should have the Makefile and the code should be compiled and runnable.
Lab 1
- No need to include byebye & newprompt command in P2.
- For P2, poll() function to detect server shutdown is not required.
Lab 2
- Requirements in previous labs are still valid but will not be the test focus for this lab.
- No need to exchange the secret when establishing the connection, just put the secret at the beginning of each message.
Lab 4
- No need to turn in pdf report for this lab.
- For P1, you do not need to use if_nametoindex() for IPv6 scope handling. To keep things simple, you may hardcode the IPv6 link-local addresses and sin6_scope_id assuming the client runs on amber05 and the server on amber06 as described in the handout. If you choose to make your solution work on any amber machine (without hardcoding), you will receive +10 bonus points.
Lab 5
- Please hardcode your TCP password in your code like using macro definition. Do not pass it as a command line argument.
- When saving log data (e.g., datalog.dat, cdatalog.dat), use either a single space or a newline as the delimiter between values. Do not use commas, tabs, or any other separators.