9swampy / Telnet

Published on Nuget at https://www.nuget.org/packages/Telnet
http://www.nugetmusthaves.com/Package/Telnet
MIT License
126 stars 50 forks source link

How to disable ProactiveOptionNegotiation? #79

Closed fraeu closed 4 months ago

fraeu commented 5 months ago

Hi there, I've a problem with the command SuppressGoAhead, if i send this command to a device's server, it crash (maybe to a bug in device)

How can I avoid to send this? Seems that there isn't an option to disable this ProactiveOptionNegotiation

https://github.com/9swampy/Telnet/blob/685992bb2cbd8d214317360be06d135f857f462f/PrimS.Telnet.NetStandard/Client_Config.cs#L87

Thanks

9swampy commented 4 months ago

You can't... or at least you couldn't. I've just pushed a cheeky flag SkipProactiveOptionNegotiation to Client that'll allow you to do so. Let me know if it doesn't help.

9swampy commented 4 months ago

Released in 0.13.0

fraeu commented 4 months ago

Thanks, it's work!