[RSS Feed/News] convertIpStringToBinary fails in some scenarios

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
convertIpStringToBinary fails in some scenarios because it tries to handle a situation in which the input has already been converted. It would probably be better if it were just simple wrappers around inet_pton().

In particular, a valid IPv6 address in its string representation can be a valid IPv4 address in its binary representation. Similarly, a valid IPv6 address in its binary representation can be a different IPv6's string representation.

For example:
  • ...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom