It's UWAweek 17 (1st semester, week 8)

help3002

This forum is provided to promote discussion amongst students enrolled in CITS3002 Computer Networks.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message. How do I ask a good question?

Displaying selected article
Showing 1 of 275 articles.
Currently 4 other people reading this forum.


 UWA week 13 (1st semester, week 5) ↓
SVG not supported

Login to reply

👍x1
helpful
3:05pm Wed 27th Mar, Christopher M.

"Henry Hewgill" <23*1*7*8@s*u*e*t*u*a*e*u*a*> wrote:
> Only thing I wasn't doing was setting the timer to NULLTIMER when it timed out because it immediately sends the data frame again (which restarts the timer). I assumed that setting it to NULLTIMER in-between wouldn't make a difference so I omitted it.
You are correct; it's the sort of thing I often do in my coding 'just in case', so it's not forgotten. It's termed defensive programming. Other examples include adding {...} around code blocks, even if they're only a single line, and the pairing free(pointer); pointer = NULL;

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy