Le 7/27/12 9:18 AM, ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S) a écrit :
Hi, When a decoder result as NEED_DATA is returned, then it is expected that more data will be received. As a worst case, it is probable that, the expected data does not ever come. How do I handle this scenario ? I am using idle time for session read/write as a 'heartbeat' monitor.
There is no other way.
When a client brutally unplug from the network, the server will never get informed about it. You have to handle such a situation on the server through some idle detection.
-- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
