Is there a standard function converting four numbers to one 32-bit
IP address?
I mean a function like
f(i, j, k, l) {
return (i 8) | j) 8) | k) 8) | l;
}
Elisej Babenko
___
freebsd-questions@freebsd.org mailing list
On 2006-12-04 14:45, [EMAIL PROTECTED] wrote:
Is there a standard function converting four numbers to one 32-bit
IP address?
I mean a function like
f(i, j, k, l) {
return (i 8) | j) 8) | k) 8) | l;
}
That's not even a complete, usable function, but if you are looking
[EMAIL PROTECTED] wrote:
Is there a standard function converting four numbers to one 32-bit
IP address?
I mean a function like
f(i, j, k, l) {
return (i 8) | j) 8) | k) 8) | l;
}
Not exactly. inet_ntoa() and inet_aton() are about the closest I can
think of. There's