warning: format ‘%s’ expects argument of type ‘char *’和warning: backslash and newline separated by
关于程序中产生的警告:1,echoserv.c:49:2:warning:format‘%s’expectsargumentoftype‘char*’,butargument2hastype‘int’[-Wformat=]
printf("ip=%s\n",inet_ntoa(peeraddr.sin_addr));
^
2,echoserv.c:11:24:warning:backslashan