9swampy / Telnet

Published on Nuget at https://www.nuget.org/packages/Telnet

Home Page:http://www.nugetmusthaves.com/Package/Telnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection reset when called TryLogin() on Cisco 2504

matsujirushi opened this issue · comments

I try this library to connect a Cisco 2504(Wireless LAN Controller).
To be disconncted when called TryLogin().

'Raw mode will not be supported, Closing connection.'

Very happy to roll in a fix if you submit and it doesn't break anything :)

Changing the next two allowed us to communicate with Cisco 2504.

  1. Single packet of ReplyToCommand bytes
  2. Respond "do echo" to "will echo"

I modified code and it's fine.
matsujirushi@e569f0d

But ASYNC not implement.

Please advice.

Great that it works in your scenario but I don't think it's right to reply "will echo" when we won't be? However knowing there's an issue, Cisco's are pretty common and presumably it's a shared issue and you've a workaround I'd be keen to find a way to build in your fix. Pity I don't have Cisco units to play with...

FWIW latest versions have rolled in an equivalent fix in ReplyToCommand. . .