recvfrom() params discrepancy

Tuan Hoang (
Fri, 12 Mar 1999 18:01:02 -0500 (EST)


I have code that is for both red hat (glibc 2.0.7) & slackware
(libc5) linux and solaris 2.6 x86. The recvfrom() parameters in the man
pages specify that the fromlen parameter be a (int *) which compiles
without warnings under slackware and solaris. But under red hat it warns
that the parameter is supposed to be a (unsigned int *).

I don't know what to do about this to have my code compile cleanly.
Also which is more the up-to-date standard for recvfrom() ?
Which way is it in glibc 2.1? Any suggestions?


To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to