The problem seems to be in the following function:
#if defined(SO_LINGER)
{
struct linger ld;
ld.l_onoff = 0;
ld.l_linger = 0;
if (setsockopt(s, SOL_SOCKET, SO_LINGER, &ld, sizeof(ld)) < 0) {
perror("setsockopt LINGER");
exit(1);
}
}
#endif
The warning is :
passing arg 4 of 'setsockopt' from incompatiable pointer type
Whadda ya thing sirs?
God against man, man against God, man against nature, God against man, man
against God, man against nature, nature against man, nature against God,
God against nature...very funny religion!
This archive was generated by hypermail 2b30 : 12/07/00 PST