network I/O. some issues. new makefile