network.c with ACKS