← 输入框|github.com|刷新
Skip to content

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

Closed

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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