modified the name of ConnectSocket class