From patchwork Sat Jan 2 11:37:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingjiang Fang X-Patchwork-Id: 24763 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 746D944AF0F for ; Sat, 2 Jan 2021 13:37:54 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4DE0568A34F; Sat, 2 Jan 2021 13:37:54 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from qq.com (out203-205-221-149.mail.qq.com [203.205.221.149]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E7DFE680AF6 for ; Sat, 2 Jan 2021 13:37:46 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1609587461; bh=P2I8FrRSjiakZ0h4iaBsSYOLKMRzIJvY3BTLJQ4aT1k=; h=From:To:Cc:Subject:Date; b=ofIWxUb6Cmq2W1B4ydlgFgz56f8zq8sPmSy640gxz8YYTC9ETLiQ9BrZOV7eslXaq AUXa3I0lBwlNi9hffdm8tNr4FcKHed44fv1oC7bEPf+65K175YBHq4GNyo25QNoS/S 6iSgD8bQNiE/pYd0NbS3hK2n+p3u0HH6GlT0ngEM= Received: from vacingfang-PC6.tencent.com ([14.17.22.34]) by newxmesmtplogicsvrsza5.qq.com (NewEsmtp) with SMTP id 9642583A; Sat, 02 Jan 2021 19:37:36 +0800 X-QQ-mid: xmsmtpt1609587456twn03jyji Message-ID: X-QQ-XMAILINFO: OEArAL79m7TBJP7Ynlmam1NEIP7KBUY4BfAkTdXzfxOYNVstkTU4guZ3gBeUNw CWcQqezDAN2oXCp7o4X9WdQdXUyl2fRAq+DMT1PVleXy0bPFof0ecyY3UowiIQhAXQ9GpmTnoLrA 7fCPjtWQ/sNJcPkXLpUgQQ9d6YMfMx8x+WX5jG8ucN6xLPiZ4jGkmkjSeksvF+yb32wpurxHcsTs 7D0EVYepTea3YCAE07MI/GyRjbTWWaWP0/ZuCR67Je+moqawdYcgIiOx5aOuKNlvvNe2/1PSi799 rEjLaSMAHT0lQqBYXnqgxGamLZe3iMdaV5QfJfV/fcvQaT7HCbS69CmyYRnQZsrWB5nO+J2uCkG8 UMdmpfu9evM9m56q33OPI25fZsnbyR8mcAeeZbhX3ifZRo63O2GZzBgQTZivM6WRgpKJpapzqmym dwlInnk63l93UROn4E5KTtsVBZIO4XU+jC+q4Ptt0EPRqImt9WQU/1Z0TGGtLi/mY8deCRLb8Qum gQgUvsQV3qMltLcGby3xcKfA+Q3qPbuLH87DcoJbZbV8hvcUhPaZEuuxk4322p2q9izTLA4SlJb0 qXJEuePDVVzxN6t4PBFDCCPM9SEMU9fZqh5TJ6LWkvFK/z+saUZEcYnLMViUBhFymFRrK/AawA3X pHQhqt028Y4LCRjadRWSfFMxXWTRoe0VCaPlYStg4cCzxqEb7lQyTzP2EvL8nERfVV+fpUZ4lJYx aBC3JQ9OZhTu4kqi2/CFkXjfyiZKKheKo5A2fIwDDlI6KD0eS12mvGbNmb9nlpJBAtJJ563s7AtZ iw37EDaUO28w== From: Lingjiang Fang To: ffmpeg-devel@ffmpeg.org Date: Sat, 2 Jan 2021 19:37:34 +0800 X-OQ-MSGID: <20210102113734.2011-1-vacingfang@foxmail.com> X-Mailer: git-send-email 2.29.2.windows.3 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] doc/tcp: update option listen description X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Lingjiang Fang Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- doc/protocols.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- 2.29.2 diff --git a/doc/protocols.texi b/doc/protocols.texi index de377a9546..e5a68dcbf4 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -1635,8 +1635,10 @@ tcp://@var{hostname}:@var{port}[?@var{options}] The list of supported options follows. @table @option -@item listen=@var{1|0} -Listen for an incoming connection. Default value is 0. +@item listen=@var{2|1|0} +Listen for an incoming connection. +0 disable listen, 1 enable listen single client, 2 enable listen multi-client. +Default value is 0. @item timeout=@var{microseconds} Set raise error timeout, expressed in microseconds.