/** * 清除上下文 */ public static function clear() { self::$local_ip = self::$local_port = self::$client_ip = self::$client_port = self::$client_id = null; }