Chech socket mode