|
|
Subscribe / Log in / New account

The SO_REUSEPORT socket option

The SO_REUSEPORT socket option

Posted Oct 27, 2016 3:13 UTC (Thu) by jaybuff (guest, #97725)
Parent article: The SO_REUSEPORT socket option

the SO_REUSEPORT implementation distributes connections evenly across all of the threads (or processes) that are blocked in accept() on the same port.
I read this to mean that single threaded processes that have established connections will not receive new connections because they are not waiting in accept(). After testing and reading some code it's clear that processes that aren't in accept() continue to receive new connections.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds