socket编程时的疑问server发送了一个int(只发送了一个int), client接收之后, numbytes=recv(socket, buf, sizeof(buf), 0); printf( "Response from server:\n%s\n ", buf); 显示为空,为什么?[解决办法]printf( "Response from server:\n%d\n ", atoi(buf));