Closed gbakeman closed 6 days ago
i am happy to see this PR--i previously have been using a fork of this repo I made for myself which the only change being the MaxRetry
variable within UPS_Device.vb
vastly increased. that is what has resolved the connection issues for me.
related to https://github.com/nutdotnet/WinNUT-Client/issues/65, i believe it makes sense for this PR to also address a configurable option for the MaxRetry
interval.
considering this software is otherwise perfect for me besides the connection issue, it would be greatly appreciated and thank you for all your work on this!
Hi @kirsch33, thanks for your interest and sorry you had to fork just for that small change! 😄 To be honest, I wasn't planning on tackling #65 here since I'm helping another user who's experiencing a multitude of issues at the moment. Generally though, I think I'm leaning more towards indefinite/persistent connections instead of a set amount before giving up - let me know in #65 if you think it should be different.
@gbakeman that sounds good to me! and its no issue. this app is perfect otherwise, or else I wouldnt have went thru all that trouble lol so kudos to you and the other maintainers.
Socket
ConnectionStatus
boolean property while maintaining null checkSocket
object in favor ofTcpClient
for underlying socket managementSocketDisconnected
eventLOGIN
command syntaxUPS Device
WinNUT
UpdateMethod
property and fieldSuspend
system power mode change to try to prepare WinNUT for suspension (isn't always called before system suspends.)Resume
system power mode change to cleanup WinNUT's state if it was left connected while suspending previouslyRelated
145
162