Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listen on multiple addresses #3

Open
markhildreth opened this issue Jul 27, 2022 · 0 comments
Open

Listen on multiple addresses #3

markhildreth opened this issue Jul 27, 2022 · 0 comments

Comments

@markhildreth
Copy link
Owner

markhildreth commented Jul 27, 2022

Adhere to the "Server Behavior" section of RFC 5780 for the simple server. Specifically:

  • Run the server such that it is bound to two addresses, and two ports. This should mean starting up four sockets. Error if any of the four sockets cannot be created.
    • Address A, Port A
    • Address A, Port B
    • Address B, Port A
    • Address B, Port B
  • For each socket, handle binding requests such that the "OTHER-ADDRESS" attribute includes the opposite address/port (e.g., the socket for Address A, Port B should return address B, Port A).
@markhildreth markhildreth changed the title Implement "OTHER-ADDRESS" in example server. Listen on multiple addresses Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant