> tcp_server.c:136: passing `int *' as argument 3 of `accept(int, sockaddr *, 
>socklen_t *)' changes signedness
[...]
> How can I fix this? Please be detailed, thanks.

You must change the way the function "accept" is called in line 136 of
the file tcp_server.c. The parameter should be an address of a
variable of type "socklen_t", not an address of a variable of type
"int".

Hope this helps,
Martin
  • libtcp Gabor Z. Papp
    • Martin v. Loewis

Reply via email to