
diesel_den
Novice
Jun 8, 2009, 3:06 AM
Views: 2745
|
|
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)
|