Socket missing option: SO_REUSEPORT

Benjiro via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 21 05:01:53 PST 2016


Just check the socket code and there is a small feature missing:

>enum SocketOption: int
>{
>    DEBUG =                SO_DEBUG,            /// Record 
> debugging information
>    BROADCAST =            SO_BROADCAST,        /// Allow 
> transmission of broadcast messages
>    REUSEADDR =            SO_REUSEADDR,        /// Allow local 
> reuse of address


There needs to be added:

>    REUSEPORT =            SO_REUSEPORT,        /// Allow local 
> reuse of the port


I don't think this needs weeks of discussion ;)


More information about the Digitalmars-d mailing list