Skip to content

Commit f79e1c5

Browse files
rozalievwycats
authored andcommitted
Add SO_REUSEPORT for macos
1 parent 5847557 commit f79e1c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/socket.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ mod consts {
184184
pub const SO_RESTRICT_DENYIN: SockOpt = 0x00000001;
185185
pub const SO_RESTRICT_DENYOUT: SockOpt = 0x00000002;
186186
pub const SO_REUSEADDR: SockOpt = 0x0004;
187+
pub const SO_REUSEPORT: SockOpt = 0x0200;
187188
pub const SO_REUSESHAREUID: SockOpt = 0x1025;
188189
pub const SO_SNDBUF: SockOpt = 0x1001;
189190
pub const SO_TIMESTAMP: SockOpt = 0x0400;

0 commit comments

Comments
 (0)