Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (opcode):

Two questions, on regarding Node.js the other regarding IPv4 format. 1. What websocket library do you use? (Node.js) @wio (Only person I know that uses Node.js). 2. I recently ran some tests on my HOSTs file. I noticed that: 127.0.0.1 is slower than 0.0.0.0. After some searching, I found that there is no IPv4 address that ends in 0, thus the system knows that there shouldn't be any loading and it terminates the connection. Question is why can't IPv4 address end in a 0. I don't see the design behind not letting IPv4 end in zero?

OpenStudy (anonymous):

1. http://socket.io/ It's uses a very simple and easy protocol. 2. All reserved IPv4 addresses end in 0. Not sure what system you are using, but it must be keeping this fact in mind before it tries to establish any connection.

OpenStudy (anonymous):

The reason for this IPv4 design was to make it so that anyone could look at an IP and easily determine whether or not it was just a normal computer connection address or something special.

OpenStudy (opcode):

Thanks @wio :-). So an IPv4 address that ends in zero, is a reserved address.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!