socket programming part incomplete