first writeup of network module. Throws a segfault when data is received.