wodtelnetdlx 2.3.5 echo off (General questions)
by cshah20, Tuesday, May 06, 2008, 20:15 (6044 days ago)
i am thinking to buy a wodtelnet dlx component. it is really a good component, but i am facing a problem :
how can i off echo in telnet by using wodtelnet component. i have tried TelnetOption property, but can't success. Can anybody give me a working code in depth.
Re: wodtelnetdlx 2.3.5 echo off
by wodDamir, Tuesday, May 06, 2008, 20:20 (6044 days ago) @ cshah20
Hi,
Actually, we don't echo anything back to the client. I believe that this is actually the server response. Can you try doing the same in any other client (i.e: Putty)? Do you get the same response?
Also, can you show me the command and response from server?
Regards,
Damba
Re: wodtelnetdlx 2.3.5 echo off
by cshah20, Tuesday, May 06, 2008, 20:42 (6044 days ago) @ wodDamir
actually, i am trying to connect a router through wodtelnet using telnet protocol.
when i telnet using microsoft telnet it is not echoing. if i am using wodtelnet it is echoing. this is a very much important to me to echo off.
i am sending a command to router after LOGIN ,
ip addr print vbcr
it is echo back
ip addr print
and then response...........
............................
Re: wodtelnetdlx 2.3.5 echo off
by wodDamir, Tuesday, May 06, 2008, 21:15 (6044 days ago) @ cshah20
Chirag,
What version of the component are you using? .ocx or .dll?
How do you send the command to server?
If you are using the .ocx (GUI version), why don't you simply remove the command from the response? You can do that if you call the Receive method in Received Event, and then removing the wanted string from buffer.
Also, did you try all the TelnetOption settings?
Regards,
Damba
Re: wodtelnetdlx 2.3.5 echo off
by Chirag Shah, Tuesday, May 06, 2008, 22:33 (6044 days ago) @ wodDamir
removing a command from responses not a good solution, bcz after sending each and every command i have to concatenate & vbcr . now vbcr is also echoing. i am getting a response of vbcr separately with another prompt.
telnetoption will be good for me, but in your documentation not much detail is given. telnetoption(index)=enumeration const. u have not given detail of indices. 0-for what, 1-for what.
if its possible give me detail working code with advanced documentation.