basic network implementations in unix