Skip to content

Commit 386dfd6

Browse files
vhbitcarllerche
authored andcommitted
Sockopt for broadcast support
1 parent b20b6c8 commit 386dfd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/socket/sockopt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ sockopt_impl!(IpDropMembership, consts::IP_DROP_MEMBERSHIP, super::ip_mreq);
7777
sockopt_impl!(IpMulticastTtl, consts::IP_MULTICAST_TTL, u8);
7878
sockopt_impl!(ReceiveTimeout, consts::SO_RCVTIMEO, TimeVal);
7979
sockopt_impl!(SendTimeout, consts::SO_SNDTIMEO, TimeVal);
80+
sockopt_impl!(Broadcast, consts::SO_BROADCAST, bool);
8081

8182
/*
8283
*

0 commit comments

Comments
 (0)