【发布时间】:2014-12-23 12:56:07
【问题描述】:
我有以下问题:
warning: implicit declaration of function ‘sendto’
在线变量outputCounterByte:
outputCounterByte += sendto(server_socket, outputBuff, offSet, 0, (struct sockaddr*) remote_addr, server_addr_len);
我不明白,问题出在哪里? OutputCouterByte 的值为 0,并定义了其他变量。我已经包含了所有标题(函数原型)。 在其他功能中它正在工作。
【问题讨论】:
-
I have included all headers..不要那么肯定。 :-)