From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id D3A476EC56; Fri, 19 Mar 2021 09:53:57 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D3A476EC56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616136837; bh=2mp5wrROo90CnVCvWCzzG0FdGI5bvrWTjDiC/wQbWFg=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=j2WsDxR7QoSdI0RB0KKlQZypZZPXr0wFnojZ7mHGmvdxetHGpA3zlTyFOwfB8Zy91 GaSIDDytEbMlIThUQJP6XnvgGgzl5pXGwJgdEq4PlvmvQfbtrTUFxm4C04ZYFPsTpJ Jw1Q2RsKAzdclwcxQmt54r1oUMnRDLyM0xKsB7qg= Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 3B90B6EC56 for ; Fri, 19 Mar 2021 09:53:56 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3B90B6EC56 Received: by mail-lf1-f52.google.com with SMTP id 75so8394711lfa.2 for ; Thu, 18 Mar 2021 23:53:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9TuVqteGrRPMkYNAbN2Em7IPAQqj5Nl9TZNi+OLr8EU=; b=r643V2qDt2no2U/nIynJqnVD0vnIrmvxLeUOPQqGsSWmLbolBb6z+rnKeNrHSDrI3g ssUKclJWBV6NPoU0HnhL/e7JgWwKLLPHiNJ8HQjHLj25EClogINwqH46ldkIUV1Dwm76 sTqmeeaiNVB5iQIqcLscZ02BWK1u+eEu3lZbQ+gmN7udnuTfPlQNpBUjUDAR0kTj6o5Q oqUDq0AQrrgajL3PtCCMShMf5ie6Nex7EoGFEE/b1FxU4IhCUStg6/S/1vKAftZxGBF5 KMfGo46RaDef7jg9aEuEwIvyG0gMGg8n+qi7egDrChV/MNgWxbJISa+5s+/2JwKOrthG gSDQ== X-Gm-Message-State: AOAM531Bo85/5KTvjuYRMCCgCDPrzTa+hhzbA4pTlBGsihn/bpPJprDN +kbnFR4j5kuPiS03EJBXX/M1FXTlGv8= X-Google-Smtp-Source: ABdhPJy9NLZJyTG7YdiYPU+nSlhtp7IYWspJr8PNHMZDuxexWZ3W73N8huriWOks/L9uhSOibKst1g== X-Received: by 2002:ac2:4e91:: with SMTP id o17mr8143756lfr.588.1616136835052; Thu, 18 Mar 2021 23:53:55 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id w4sm505936lfl.236.2021.03.18.23.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 23:53:53 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id C8CC0560112; Fri, 19 Mar 2021 09:53:52 +0300 (MSK) Date: Fri, 19 Mar 2021 09:53:52 +0300 To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0.5 (2021-01-21) Subject: Re: [Tarantool-patches] [PATCH 1/2] swim: add SO_BROADCAST option X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Cyrill Gorcunov via Tarantool-patches Reply-To: Cyrill Gorcunov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Fri, Mar 19, 2021 at 12:18:46AM +0100, Vladislav Shpilevoy wrote: > I force updated the patch on the branch. > > Could you please check if it works on your machine? For > example, this test: > > uuid = require('uuid') > swim = require('swim') > > s = swim.new({uuid = uuid(), uri = '127.0.0.1:3313'}) > > s:broadcast(3313) > > On Mac it used to print EADDRNOTAVAIL message. Probably > would fail with something on Linux too, but I don't know. > Might just work fine as well. Ack. Thanks! FWIW on linux this fails with | tarantool> SystemError sendto(177), called on fd 10, aka 127.0.0.1:3313: Invalid argument