Blocking and CAsyncsocket
Janardan R. Sethi -- sethijr@logic.clarkson.edu Wednesday, December 04, 1996 Environment: VC++ 4.0 Windows NT 4.0 I am using a CAsyncSocket derived class and have overridden the OnReceive virtual function. Will this socket queue all messages received that arrived when it were in the Onreceive block for another message , or will these messages be lost. If so how could i make it block so that all messages received are handled. Any tip would be of great help. Thanking in advance Sethi J sethijr@camp.clarkson.edu
Mike Blaszczak -- mikeblas@nwlink.com Saturday, December 07, 1996 At 11:37 12/4/96 -0500, Janardan R. Sethi wrote: > > Environment: VC++ 4.0 Windows NT 4.0 > >I am using a CAsyncSocket derived class and have overridden the OnReceive >virtual function. Will this socket queue all messages received that >arrived when it were in the Onreceive block for another message , or >will >these messages be lost. If so how could i make it block so that all >messages received are handled. Any tip would be of great help. CAsyncSocket is busted in MFC 4.0. You should upgrade; there have been significant improvements in the socket code in MFC. .B ekiM http://www.nwlink.com/~mikeblas/ I'm afraid I've become some sort of speed freak. These words are my own. I do not speak on behalf of Microsoft.
| Вернуться в корень Архива |