Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 424 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 424 Bytes

netbyte

Converts command line arguments through ntohl() and htonl().

To build issue autoreconf -i && ./configure && make

Sample output on an intel (little-endian) architecture:

$ ./netbyte 3000
         unsigned      signed
 orig:       3000        3000
ntohl: 3087728640 -1207238656
htonl: 3087728640 -1207238656