"Mark K. Gardner" wrote:

> Hi all,
>
> A mental lapse during the use of recvfrom brought up a question about
> argument error checking. Here is the offending snippet of code
>
>   if (recvfrom(s, reply, &len, 0, &dest, &dest_len) == -1) {
>     ...
>   }
>

Seems like a compiler could be flagged to warn you... maybe -Wall or something?

Ben

--
Ben Greear        [EMAIL PROTECTED]   Pager: 202-2717
(623) 581 4980    "More weight!" -- _The Crucible._
http://hydrogen:8080/home/greearb/public_html/index.html



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

Reply via email to