Skip to content

Adding SO_REUSEPORT to Unix lib #3512

@vicuna

Description

@vicuna

Original bug ID: 3512
Reporter: administrator
Status: acknowledged
Resolution: open
Priority: normal
Severity: feature
Category: otherlibs

Bug description

Full_Name: Alon Kama
Version: 3.08-2
OS: OS X (darwin)
Submission from: 85-64-152-87.barak.net.il (85.64.152.87)

On 4.4BSD, In order to use IP Multicasting, the SO_REUSEPORT must be given as a
parameter to setsockopt. On other Unixes and Linux, SO_REUSEADDR is good
enough.

Ocaml 3.08 supports calling SO_REUSEADDR but not SO_REUSEPORT. I've manually
changed the code and added this option, and have verified that it works as
necessary. I'm requesting to add this option to the next release.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions