On Wednesday 14 Apr 2004 4:32 pm, Pad Hosmane wrote: > Nigel, > I am not a programmer. With trial and error I figured out how to > compile clamav-milter.c. Please guide me how to use inet_ntoa() instead > of inet_ntop()?
Try this: remoteIP = inet_ntoa(((struct sockaddr_in *)(hostaddr))->sin_addr); -Nigel -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users