问题1:
一个登陆程序。输入账号和密码后。
bp WSARecv后,程序断下来,查看内存lpBuffers,第5个字节( char FAR *buf)开始才是真正的接收数据内存。
可是就是当我先查看lpBuffers,然后查看( char FAR *buf)的内存地址。然后我程序F9继续执行的时候,程序已经跑飞了。
我要关注WSARecv接收的数据,关注它接收到数据后怎么用的。该怎么来调试呢?
WSAGetOverlappedResult return value is TRUE. This means that the overlapped operation has completed . returns FALSE, this means that either the overlapped operation has not completed, the overlapped operation completed but with errors