| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | About BLU |
Here's a quick c program:
#include <stdio.h>
#include <arpa/inet.h>
/* assume the only argument is an ip address
* This is not a very elegant program and there is
* no error checking
*/
int main(int argc, char **argv)
{
in_addr_t ipaddr;
ipaddr = htonl(inet_addr(argv[1]);
printf("ipaddress:%x\n", ipaddr);
}
On 27 Apr 2001, at 9:59, Robert Sarao wrote:
> Good morning,
>
> Does anyone have a software package that they love that converts
> the
> ip octet address to hexadecimal. Something simple, we just have to do
> some
> conversion and it would be a nice tool...
>
>
> Rober
> Robert
>
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).
Jerry Feldman <gaf at blu.org>
Associate Director
Boston Linux and Unix user group
http://www.blu.org
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).