From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 6FA25454E8 for ; Thu, 2 Mar 2023 18:51:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 716C968B0B6; Thu, 2 Mar 2023 20:51:51 +0200 (EET) Received: from nef.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E442368078C for ; Thu, 2 Mar 2023 20:51:45 +0200 (EET) X-ENS-nef-client: 129.199.129.80 ( name = phare.normalesup.org ) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef.ens.fr (8.14.4/1.01.28121999) with ESMTP id 322IpixX021461 for ; Thu, 2 Mar 2023 19:51:45 +0100 Received: by phare.normalesup.org (Postfix, from userid 1001) id C5EEBEB5BD; Thu, 2 Mar 2023 19:51:44 +0100 (CET) Date: Thu, 2 Mar 2023 19:51:44 +0100 From: Nicolas George To: FFmpeg development discussions and patches Message-ID: References: <20230301150757.3309799-1-jack.wgm@gmail.com> <20230301154456.3407862-1-jack.wgm@gmail.com> <2370995.qZ0jSbpfxB@basile.remlab.net> MIME-Version: 1.0 In-Reply-To: <2370995.qZ0jSbpfxB@basile.remlab.net> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Thu, 02 Mar 2023 19:51:45 +0100 (CET) Subject: Re: [FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Type: multipart/mixed; boundary="===============2696788052458373248==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2696788052458373248== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5XRQQPuJ/oLvtLKh" Content-Disposition: inline --5XRQQPuJ/oLvtLKh Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable R=E9mi Denis-Courmont (12023-03-02): > That needs to match the socket protocol family, or bind() will fail. Oh, right! The proper way to work with getaddrinfo is to create the socket afterwards based on its return, but staying within a family is a good second best choice. Thanks for noticing. Regards, --=20 Nicolas George --5XRQQPuJ/oLvtLKh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6ooRQGBoNzw0KnwPcZVLI8pNxgwFAmQA8D4ACgkQcZVLI8pN xgwCTBAAiVU1N20fEbbiOkwhUuB7032RN8APG7TRl8XSGw1/6H1gmkiDXx3Xy4R8 aJNmfk5JmlD43CWottBou6SKtZMHXXfaWrGMM8lOyd7MzcsirdOMt8zkbHJHWfxd 05iEfP70HfCmxeQiASWOPv4Rjr2bKahoq2xvzJvVgLT3n0W7dpq3593mNd1tYJXU L8G9ac0UB+BTZ0VryJUhNMZp2tO/ecEf+BzwbtVLWqWRGsulxk7HScqiAGsJYwtB uT+46oscC23Q7UvcUjLKF8QBcz+TeF08F6OKhvubqBYKZoyYMSCAA8Dm2te0Tfzv 0VTKwIwnqQHhaW+ER2R45hYFfEA6FDo3NI2uf+DTC+bLKMZgJ3rzxEEzAlcuEyrO 43iVlWiic73kUrxcOP+/cJDsnMIgA4SYSQL8zBV/E739jUatM3+Q5o+uNMeq0189 A9uTuJ9Nsg0pvk6fkPGkvd86oAMFZoDWX2/3N1vPzUn8PfMZjq8sAOoyjFtCPE3h Gw6YgeBWFqggezgRf+qJZjWn6EBEukp8plS+7qnQKW4ZVyXru6LFYxYyqIQ6Dnf9 s/6ZE8hgXHkAk6gsw8ht/yugbP/N3U9QUi8G3OPVVilcpI7wY7azmDMiZpMMIPNe MFGiqYfTZVWbSomOyn1jFzfBLR1NueXH/2vZSnoKDqhWYKAvYtA= =apWG -----END PGP SIGNATURE----- --5XRQQPuJ/oLvtLKh-- --===============2696788052458373248== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============2696788052458373248==--