On 2/6/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
Try to compile this and see if you get 127.0.0.1 printed

#include <ns.h>

main()
{
    struct in_addr addr;
    addr.s_addr = inet_addr("127.0.0.1");
    printf("%s\n", ns_inet_ntoa(addr));
}

gcc -I /usr/local/ns/include -o a a.c /usr/local/ns/lib/libnsthread.so

[EMAIL PROTECTED]:~$ ./a
0.0.0.0

:-/

Michael

Reply via email to