to airhorse:
我现在用的单片机编程语言可没有sendbuff.他有个类似的函数sock_write,其定义如下:
int sock_write(void *s,byte *dp,int len);
描述:write up to len bytes from dp on socket s.this function busywaits until either the buffer is completely written or a socket error occurs.
参数: s:pointer to a socket
dp:pointer to a buffer
len:max number of bytes to write to the buffer
返回值:Number of bytes written or -1 on an error.
试问怎能发结构呢?好象不行吧