debug network.c