lib/tsocket: add tdgram_inet_udp_broadcast_socket()
authorStefan Metzmacher <metze@samba.org>
Thu, 21 May 2015 09:39:38 +0000 (11:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:17 +0000 (17:08 +0200)
commit36b97d0bb9fe004f3d8a500f3af83dff34f86d7b
treed95abbb1f1a83051f9f3a526f57197cf4c4d55c9
parent3a8b7b0518b33b016d2dbb8dd23d35ef1c6aaa5c
lib/tsocket: add tdgram_inet_udp_broadcast_socket()

This is similar to tdgram_inet_udp_socket(), but it allows
the use of ipv4 broadcast traffic.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11316

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tsocket/tsocket.h
lib/tsocket/tsocket_bsd.c