playing with socket