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: Telnet ReceiveTimeout Question
BabuManoharan
Babu.Manoharan@Cox.com

From: Rancho Santa Margarita, CA USA
Posts: 8
Member Since: 02/25/09
posted April 7, 2009 4:58 PM

currently i have my ReceiveTimeout set to 3000.

How can i wait Indefinitely ?
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted April 8, 2009 2:16 PM

Setting the Timeout to 0 indicates no timeout period.
BabuManoharan
Babu.Manoharan@Cox.com

From: Rancho Santa Margarita, CA USA
Posts: 8
Member Since: 02/25/09
posted April 8, 2009 7:21 PM

When i set it to 0 and try to run the program i get this message

ReceiveTimeout property must be non-zero for waiting operations.


Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted April 9, 2009 9:58 AM

You need to move to asynchronous operation using BeginSend and BeginReceive along with EndSend and EndReceive if you wish to wait indefinitely by setting the Timeout value to 0.
Reply | PowerTCP Telnet for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX