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 5D1D86EC56; Fri, 19 Mar 2021 23:29:55 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5D1D86EC56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616185795; bh=8DFuGDJIRp55NWBsaoNuqfj3dbaCJxxO44fM3Fdxu5w=; 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=pW4pV6ioLnkRbnck6BrJQZdXrAnZxaLLqrf3VcYb9FPXJdwb8yrbbig/0vk5qx9Cc Y6lsC5oRj6ubY7G2XIoJ6R4OgVe5f/Ij1jCCng91QePjhtH8VUsikzE2J1Kmy+CDW0 qnGr8JF40LuZYPlNLHwtyOJvlOmLweaQR8UDePB4= Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 C69BF6EC56 for ; Fri, 19 Mar 2021 23:29:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C69BF6EC56 Received: by mail-lj1-f175.google.com with SMTP id u20so13466970lja.13 for ; Fri, 19 Mar 2021 13:29:54 -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=TGpD6boEiZpyHF1riF77nsO7KHcu5jFuu8H2tuurn/k=; b=bFj/iMbVlzgtOJWUn4534mi9FlVkGnLaMRNSXAP0nxjB7CQL05MSaGs5eYuXOW2T3f iWltETZouLK3sHXifU3+iTz+SHM55NlnmdSKUqUa1u1a5FEhycwwDejSloJwPc1oZYRI lYBFb0mUzSi4w71nG8T3kJQ1G68UbulJQbSnob4NvOFUV0P6hTTFKmpfPT8iQ9Yn2Peg sKGN9XhnPeEthn78hB0EbBiX55/JGOkife7PZM84C3TRZoXi73CBMN1cigQ1KGCozV6a laGeA85gcT7P/LqcVVJg6u4/xgbMA5ZJtN5KBEA+5duHWD7VTNu9cj0SKj3hjb3Z9utT nO9g== X-Gm-Message-State: AOAM532TCzw7FBG69830syg2HBAju9gqn76GkV3W23I37R/Yitc3jefk DMsDj7/DRI8lkIXXOIj3pFMxaX2TsBc= X-Google-Smtp-Source: ABdhPJxnwJtNVPXT/9/OfZQxB2iix18Bb/Q4OF3lX6oItJDehxWV75tTYg0Nz4hULwn5K/lRwE7/TQ== X-Received: by 2002:a2e:b008:: with SMTP id y8mr1843491ljk.233.1616185793674; Fri, 19 Mar 2021 13:29:53 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id x1sm730386lff.97.2021.03.19.13.29.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 13:29:52 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 8E502560098; Fri, 19 Mar 2021 23:29:51 +0300 (MSK) Date: Fri, 19 Mar 2021 23:29:51 +0300 To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org Message-ID: References: <106323fa-06a1-8fd6-bffe-c978e99d8649@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <106323fa-06a1-8fd6-bffe-c978e99d8649@tarantool.org> 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 09:18:52PM +0100, Vladislav Shpilevoy wrote: > > What if you use a non-local address? For example, I have an IP from my > router with 192.168... . Could you please try that one on your machine? > If it will work, I will silence 'Invalid argument' on Linux for the > same reason as EADDRNOTAVAIL on Mac. tarantool> s,err = swim.new({uuid = uuid(), uri = '192.168.88.249:3313'}) tarantool> s --- - uuid: 053f4d3f-3f59-429e-8677-f2f97883e439 uri: 192.168.88.249:3313 ... tarantool> s:broadcast(3313) --- - true Cyrill