Skip to content

two servers running on same port causes second process to hijack the port #16

@nelson2005

Description

@nelson2005

on Windows, running two servers on the same port (e.g., run two instance of the simple_http_server example on the same port) causes undefined behavior. The second server should fail.

seems to be related to cpp-netlib's use of SO_REUSEADDR

http://msdn.microsoft.com/en-us/library/ms740621%28VS.85%29.aspx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions