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: Slow to Connect
simontrain

From: Glasgow, United Kingdom
Posts: 7
Member Since: 11/19/09
posted November 30, 2009 7:53 AM

I can manually connect to a standard Telnet server using RealTerm and cmd line Telnet (Vista) within a second. When I connect using PowerTcp Telnet component it takes 4-6 seconds. I am not using any authentication and have tried clearing ClientOptions and ServerOptions.

Any ideas?
simontrain

From: Glasgow, United Kingdom
Posts: 7
Member Since: 11/19/09
posted November 30, 2009 12:05 PM

Have dumped the PowerTCP Telnet component.

Spent 2 hours writing code in .NET using System.Net.Sockets namespace and NetworkStream and TcpClient classes. Telnet connection connects within 0.5 second and works fine. :(
Jason Farrar (Admin)

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

Extra Support Options
Custom Application Development

posted November 30, 2009 5:13 PM

Hi Simon,

What methods were you using to connect to the server? Were you using the Login or Connect method? I understand you are no longer using the control but if there is an issue we would still like to address it.
simontrain

From: Glasgow, United Kingdom
Posts: 7
Member Since: 11/19/09
posted November 30, 2009 6:43 PM

I am using Connect without a login. No authentication is required. The Telnet Client sample for VB.NET 2008 also takes 5-7 seconds to connect. Reads are nice and quick once connected and I can connect instantly with RealTerm or Windows Telnet and .NET TcpClient.
Mike Baldwin (Admin)



From: Rome, NY USA
Posts: 114
Member Since: 04/11/00

Extra Support Options
Custom Application Development

posted December 1, 2009 12:17 PM

Hi Simon,
A couple additional questions to help us find the problem:
1. Do you have the delay using an IP address? If not, this would indicate a DNS problem.
2. Is this a Telnet server? Who makes it and what OS is it running on?
Thanks for you help.
Mike
simontrain

From: Glasgow, United Kingdom
Posts: 7
Member Since: 11/19/09
posted December 1, 2009 3:20 PM

1. we are not using DNS - just IP addresses

2. The telnet server is a Startech NETRS232. The specs are here http://www.startech.com/item-specs/NETRS232_1GB-1-Port-RS-232-Serial-Ethernet-IP-Adapter-Device-Server-Console-Server-UK.aspx

I am able to connect to this telnet server using RealTerm, Windows Telnet and .NET TcpClient without any problems or speed delay.
Jason Farrar (Admin)

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

Extra Support Options
Custom Application Development

posted December 1, 2009 4:12 PM

Is there any way you might be able to ship us one of these devices for testing? If so we can work the details out via E-mail.
simontrain

From: Glasgow, United Kingdom
Posts: 7
Member Since: 11/19/09
posted December 1, 2009 4:38 PM

There is no benefit at all in my spending more time on this. As I said I managed to code something in .NET in two hours. I've already wasted enough time + money on this component. I will be contacting Componentsource (component reseller) to ask for a full refund as IMHO the component fails on a basic requirement.

If there are problems with your component connecting to an "industry standard" telnet server then I suggest you arrange for your company to purchase the device and test the component.
Jason Farrar (Admin)

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

Extra Support Options
Custom Application Development

posted December 2, 2009 1:17 PM

There are many different Telnet servers and not all of them operate exactly the same. In our testing against machine hosted telnet servers we were not able to reproduce the issue. However we have no device based servers to test against.

We are in the process of purchasing one of these devices to see if we can replicate and fix the problem.
simontrain

From: Glasgow, United Kingdom
Posts: 7
Member Since: 11/19/09
posted December 2, 2009 1:33 PM

thanks. look forward to hearing from you!
Reply | PowerTCP Telnet for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX