PHP » GoLang |
login |
register |
about
|
ip2longip2longip := net.ParseIP(ipAddress) if ip == nil { return 0 } return binary.BigEndian.Uint32(ip.To4()) |