renamed sock.cpp to sock_demo.cpp