"\x01\x02\x03\x04" would also work (inet_aton($_))
0x01020304 would also work (unpack('N', inet_aton($_)))
Socket
In reply to Re: IP in range by ikegami in thread IP in range by rhymejerky