base socket app