This repository is for lecture in BOB 9th. Please ignore this repository.
The goal of this program is to convert network byte order to host byte order.
make
./add-nbo <file 1> <file 2>
where file 1, 2 are generated with
echo -n -e \\x00\\x00\\x03\\xe8 > thousand.bin
echo -n -e \\x00\\x00\\x01\\xf4 > five-hundred.bin
You can check the validity of the program with example.
./check-example.sh