For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > March 2004 > inet_ntoa









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author inet_ntoa
Kennel Yves

2004-03-29, 3:33 am

Can somebody explain me why this function hangs under AIX 5.2 (64 bit)
and not under AIX 4.3.3 (32 bit) ?????

hostname = (char*)inet_ntoa(peeraddr_in.sin_addr);


Thanks

those who know me have no need of my name

2004-03-29, 7:34 am

in comp.unix.programmer i read:

>Can somebody explain me why this function hangs under AIX 5.2 (64 bit)
>and not under AIX 4.3.3 (32 bit) ?????
>
>hostname = (char*)inet_ntoa(peeraddr_in.sin_addr);


probably your cast is hiding an error, e.g., you don't have a declaration
in scope -- remove the cast and fix any error your compiler emits (do NOT
fix it by using a cast).

--
a signature
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com