fixed:
network_interface.cpp:592: error: comparison between signed and unsigned integer expressions
network_interface.cpp:600: error: comparison between signed and unsigned integer expressions