   need a free inet_ntoa implementation
  Anyone know of a free implementation of inet_ntoa()? that takes a network ordered long. I need my own since its not supported on the sockets sdk im working with.Thanks in advance.   
  Doing no research on the subject, I'd imagine its source in a GPL'd OS library would be freely available.  Of course, that code requires derivative works to also be GPL'd.  You could go look at BSD's implementation if that restriction was unavailable.   ;  wasnt as hard as i tought :Punsigned char* bytes = (unsigned char *)&address;sprintf(buffer, "%d.%d.%d.%d", bytes[0], bytes[1], bytes[2], bytes[3]);   ;  For super happy bonus time, here's how a FreeBSD does it:sprintf(buf, "%d.%d.%d.%d", ucp[0] & 0xff, ucp[1] & 0xff, ucp[2] & 0xff, ucp[3] & 0xff);and here's how a glibc does it:__snprintf (buffer, 18, "%d.%d.%d.%d", bytes[0], bytes[1], bytes[2], bytes[3]);   