News for hackers. Stuff that matters.
Re:There’s more than one way to write an IP address by slivanes on Tuesday July 09, 2019 @07:00PM (#20397613)
When I bind a socket to 0.0.0.0 it means to all interfaces on the host machine, of which 127.0.0.1 is one of those interfaces. Not sure if that answers your question.
Re:There’s more than one way to write an IP address by eridius on Tuesday July 09, 2019 @08:06PM (#20398048)
If you ping 0.0.0.0 on Linux it pings 127.0.0.1. That's the behavior I'm talking about. Binding to 0.0.0.0 is something completely different and not Linux-specific.