a demo of socket in linux