Author | Topic: telnet interface | |
---|---|---|
Arthur Hunger | telnet interface on Wed, 05 Jul 2006 16:07:05 +0200 Hi all, I want to control my VLC media player through it's telnet interface. When I do this with Hyperterminal, it' ok. Now I want to do it with asinet. I do a socket_open to localhost + serverport and I get a socket handle. My question is, what I have to send now to the telnet interface to get the question for the password. I cannot receive any information from the interface. Has anybody experience with this? Arthur | |
Jose Adriano Baltieri | Re: telnet interface on Thu, 06 Jul 2006 08:23:47 -0300 Arthur Hunger wrote: > Hi all, > > I want to control my VLC media player through it's telnet interface. When I > do this with Hyperterminal, it' ok. Now I want to do it with asinet. I do a > socket_open to localhost + serverport and I get a socket handle. > > My question is, what I have to send now to the telnet interface to get the > question for the password. I cannot receive any information from the > interface. > > Has anybody experience with this? > > Arthur Hi Arthur I do a telnet emulation to a mainframe. What I think that you have to see is that on the beggining of the communication, the TELNET protocol does a sort of a balance or it tries to discover the terminal settings. It is something regarded to DO and DONT. Some thing like : I DO accept this and, I DO NOT accept that. What I did here was : I got other terminal emulator (telnet client) and, I found out what it talked with the server, using a sniffer. Then I made my application do the same talk. Do you have some other product that does that ? If not, you'll have to study the initial telnet communication. I dont know that in details. If you want, send me a private email and I can send you my source code 4 you, OK ? | |
Vagelis Skarmaliorakis | Re: telnet interface on Thu, 06 Jul 2006 23:18:31 +0300 Hi Arthur, Take a look at www.catalyst.com and download the freeware version of socketwrench (i think the release is 3.6). There are plenty of sampled code (not only telnet), mostly visual basic but you can find all the information you need there. Regards Vagelis |