Now I have a much better plan for network.c
Finally working again.