Link to home
Start Free TrialLog in
Avatar of Bob Schneider
Bob SchneiderFlag for United States of America

asked on

TelNet Help

I am a race timer and I use a proprietary timing software.  I am migrating to a new timing system and in order to get it to work with my software I have to stream the data from the timing box to a directory on my PC using a TelNet utility.  I have one that works perfectly...except that it seems to time out or simply stop communicating at certain points for one reason or another.  I need to resolve this in order to complete my migration.  

I found a TelNet program and modified it using vb6 to interface nicely with my system.  I have the source code.  I am looking for help on finding a setting or something that is causing the failure.  Let me know what I need to provide.  If this is more than I should be asking for I am willing to pay a reasonable fee for help with this.

Thank you very much!
Avatar of Dr. Klahn
Dr. Klahn

Telnet was not designed for continuous data streaming, but rather for human terminal use.  Humans type rather slowly and commands are issued only intermittently, so a Telnet client may not be a good fit as a basis for this application.

But that aside, the first thing you need to know is:  What is the state of the connection when the communication hangs?
Just a thought, I have seen several folks using this small library of procedures for Com I/O from VB in Windows.  It's a bit dated, but I have seen folks still using it online (I'm not one though).  You might want to take a look at the code in this and compare it to what you are doing looking for anything that might be different or worth exploring.  (I am only aware of this because of a different set of questions I have been participating in here on EE recently...)

Also, have you considered using a paid third party library of Com routines, I have to believe there are some out there that *might* be less problematic.  But I also respect wanting to create your own too...

Avatar of Bob Schneider


Thank you both.  I have no reason to believe that the connection state changes but I can't guarantee that.  I usually have two timing boxes daisy chained with ethernet cables.  The model I am having difficulty with is usually "behind" the model that does it's own streaming.  Could that be a factor?

I am open to any third party utility that will give me what I want.  I like the fact that I could modify the interface to make it an easier learning curve for my timing crew but that is secondary to getting it to work.  Where would I begin to look for these options?
I must have misunderstood your previous commentary.  You say you have the two boxes daisy-chained.  By that you mean that both are plugged into a hub or switch, correct?  Because daisy-chaining in the classical sense (in-out in-out) with all interfaces in parallel won't work.
I have a timing box on my back row of RFID readers that is connected via ethernet to the timing box on my front row of RFID readers which is connected to my computer via ethernet.  They connect fine and oftentimes I have no issues...all data comes through.  But on occassion the second box (the one I need TelNet or something to connect with) stops transmitting.
Avatar of Dr. Klahn
Dr. Klahn

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is an unmanaged switch the same as a hub?