Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2019 16:02:09 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        =?UTF-8?Q?Goran_Meki=c4=87?= <meka@tilda.center>
Cc:        freebsd-net@freebsd.org
Subject:   Re: UDP broadcast
Message-ID:  <5b04251d-46e6-8bc7-3389-d47952e19c36@yandex.ru>
In-Reply-To: <20190306125322.f6v6cir4qtpfz2g5@hal9000.home.meka.rs>
References:  <20190305224610.frw5ov5bn6f3xaqg@hal9000.home.meka.rs> <d4e82410-d79e-e8b7-8ae9-d282691416af@yandex.ru> <20190306125322.f6v6cir4qtpfz2g5@hal9000.home.meka.rs>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--gYMkGkKDxDPuEooSCrgmg2DTRAr9c0B0O
Content-Type: multipart/mixed; boundary="zGwLo60xSnsbxOlq18OG4beE8y044Rk2C";
 protected-headers="v1"
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: =?UTF-8?Q?Goran_Meki=c4=87?= <meka@tilda.center>
Cc: freebsd-net@freebsd.org
Message-ID: <5b04251d-46e6-8bc7-3389-d47952e19c36@yandex.ru>
Subject: Re: UDP broadcast
References: <20190305224610.frw5ov5bn6f3xaqg@hal9000.home.meka.rs>
 <d4e82410-d79e-e8b7-8ae9-d282691416af@yandex.ru>
 <20190306125322.f6v6cir4qtpfz2g5@hal9000.home.meka.rs>
In-Reply-To: <20190306125322.f6v6cir4qtpfz2g5@hal9000.home.meka.rs>

--zGwLo60xSnsbxOlq18OG4beE8y044Rk2C
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 06.03.2019 15:53, Goran Meki=C4=87 wrote:
> I checked, and 02:c9:63:0b:f4:00 is my router MAC, so I suppose the
> ff:ff:ff:ff:ff:ff should be what I see.
>=20
> Of course, I tried to write a simple C program that does the same, but
> just using 255.255.255.255 as IP address gives the same result as nc. D=
o
> I need to use raw sockets, perheps?

Take a look at ip(4) manual page, read about SO_BROADCAST and IP_ONESBCAS=
T.

--=20
WBR, Andrey V. Elsukov


--zGwLo60xSnsbxOlq18OG4beE8y044Rk2C--

--gYMkGkKDxDPuEooSCrgmg2DTRAr9c0B0O
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlx/xNEACgkQAcXqBBDI
oXrxZwf+KegJRX6hHPXzXv8YgxOdtzdXhZ0KkuaZVX8PiVY93UEpAjKCEF+zkt61
8+3Wv3bmuh6OXacmFpV5pwiJ/ePhahhyhsskfS9OYJ7E2l8pySoyhF7Pxdfw4Cjf
bk9jhzWPoN1MFp/aIPOO3yt/PQiRu6OoAIW8ZoEcdcCjwMZi4Pti1bTuq0Rd1OCl
09MqWtxv7Yr5GOaEGjcbQ7ZqKKmlgUJAbE1d3wExyD74Bbwa6mgJrvamO8eklr6Z
/HbSMDDMRCb+mWTRdST9YHVEU7bE9I1NjSOMkoEt4YrQBRwNNw5piNivM0Eaz1D6
h8d10diCpBeSR+dHBhUvzD9+/ilcUA==
=o6pA
-----END PGP SIGNATURE-----

--gYMkGkKDxDPuEooSCrgmg2DTRAr9c0B0O--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b04251d-46e6-8bc7-3389-d47952e19c36>