Skip to content

Correctly print that server is listening on 0.0.0.0#6

Open
S0yKaf wants to merge 1 commit into
VolgaGerm:masterfrom
S0yKaf:patch-1
Open

Correctly print that server is listening on 0.0.0.0#6
S0yKaf wants to merge 1 commit into
VolgaGerm:masterfrom
S0yKaf:patch-1

Conversation

@S0yKaf

@S0yKaf S0yKaf commented Apr 11, 2026

Copy link
Copy Markdown

Correctly print that advertised address is 0.0.0.0 instead of localhost.

localhost assumes that the server is not accessible to to the outside. While in reality 0.0.0.0 is the address being bind. This correctly points this out to the user.

as per addr.sin_addr.s_addr = INADDR_ANY;

Correctly print that advertised address is 0.0.0.0 
instead of localhost.

localhost assumes that the server is not accessible to
to the outside. While in reality 0.0.0.0 is the address
being bind. This correctly points this out to the user.

as per addr.sin_addr.s_addr = INADDR_ANY;
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

Successfully merging this pull request may close these issues.

1 participant