Fixed the problem I had with one server compiled with V5h

Bjornar added this line at several places :
        if FKeepAlive = FALSE then {Bjornar} <-- added
            CloseDelayed;

This particular server needs to answer other clients directly within the 
OnGetDocument event of another client.
I added a new compiler directive for my personal use and all works fine now.

{$IFNDEF NO_KEEPALIVE_CLOSE_CHECK}
        if FKeepAlive = FALSE then {Bjornar}
{$ENDIF}
            CloseDelayed;

Paul 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to