msghandler大致代码如下:
static void const * msghandler(PtConnectionServer_t *connection,
void *user_data,
unsigned long type,
void const *msg,
unsigned len,
unsigned *reply_len )
{
char buf[256] = "msg receive";
PtConnectionReply(conection,sizeof(buf),buf);
}
结果客户端没收到消息,居然没有阻塞。
而且我试验了一下,没有reply居然也没有阻塞,什么情况?