Computer Networks
Practical exercises #8
- Optional Exercise: write
[1] a computer program that can
translate between 32-bit numbers and dotted decimal form. Extend
your program to determine whether the address is class A, B or C,
and print the network and host portions. Further extend your
program to recognise and identify special IP addresses such as the
limited broadcast address, a directed broadcast address, etc.
[1] From Comer, Computer Networks and
Internets 2/e P248. Only serious programmers should attempt
this!
This set of practical exercises accompanies
Tutorial #8.
[Previous Practical]
[Tutorial Index]
[Next Practical]
Copyright © 2000 by
Philip Scott,
La Trobe University.