TCP client side working