15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


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.





| Вернуться в корень Архива |