1
0
Fork 0
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:
winlin 2019-10-03 16:10:22 +08:00
parent 1a65927b1b
commit d3b142a0d9
5 changed files with 44 additions and 2 deletions

View file

@ -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);