programs written using socket module in python