Login  
Search All Forums
Dart Home | PowerTCP Telnet for .NET | Custom Development Reply | PowerTCP Telnet for .NET Topics | Forums   
AuthorForum: PowerTCP Telnet for .NET
Topic: AutoReceive Question
BabuManoharan
Babu.Manoharan@Cox.com

From: Rancho Santa Margarita, CA USA
Posts: 8
Member Since: 02/25/09
posted February 26, 2009 2:05 PM

If you Enable the AutoReceive and look either Trace or RawTrace event handler methods the content is totally different ( at least half of it ) when you disable the AutoReceive

Again in order to get the EndReceive working we have to switch AutoReceive True or False, but looks like we are not getting everthing in the trace ?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted February 26, 2009 3:50 PM

Hi,
EndReceive will fire when AutoReceive is true OR when the async BeginReceive call is used.
See the Telnet Client sample for an example of using BeginReceive.

You are most likely not getting all the available data when AutoReceive is off, because you are not calling Receive (or BeginReceive) enough times to get all the incoming segments.

Hope it helps,
-ken
Reply | PowerTCP Telnet for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX