mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #775, Support SO_REUSEPORT. 3.0.54
This commit is contained in:
parent
1a65927b1b
commit
d3b142a0d9
5 changed files with 44 additions and 2 deletions
|
@ -49,6 +49,9 @@ extern srs_error_t srs_fd_closeexec(int fd);
|
|||
// Set the SO_REUSEADDR of fd.
|
||||
extern srs_error_t srs_fd_reuseaddr(int fd);
|
||||
|
||||
// Set the SO_REUSEPORT of fd.
|
||||
extern srs_error_t srs_fd_reuseport(int fd);
|
||||
|
||||
// Set the SO_KEEPALIVE of fd.
|
||||
extern srs_error_t srs_fd_keepalive(int fd);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue