CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [diesel_den] Problem with Aruba device using plink through IPC::Run: Edit Log



diesel_den
Novice

Jun 8, 2009, 3:06 AM


Views: 3749
Re: [diesel_den] Problem with Aruba device using plink through IPC::Run

I have used sniffer and have found next thing.

While working with plink manually, every character is sent in separate packet and every line is finished by sending packet with "\x0D\x00".

While working with plink via IPC::Run, every chracter is not sent separately, but strings are sent. And every string is finished by "\x0A". It is because I am using "\n" after every string.

I have tried to use "\x0D\x00" after every string, but instead of "xxxxxx\x0D\x00" next string is sent: "xxxxxx\x00", so "\x0D" is not parsed by plink at all.

So sending chracters from keyboard and via IPC::Run - it is pretty different things!


(This post was edited by diesel_den on Jun 8, 2009, 3:17 AM)


Edit Log:
Post edited by diesel_den (Novice) on Jun 8, 2009, 3:17 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives