Liam's BitchX Command Reference
BitchX scripting function $iplong()
- iplong
- Function
- $iplong()
- Usage
- $iplong(ip4addr)
- Returns
- A 32-bit integer representing the IP address.
This is the equivalent of, in C, htonl() after
inet_aton().
- Example
- /do echo $iplong(192.168.0.1) produces 3232235521