CLineTester
CLineTester copied to clipboard
I did some work on the python implementation, if you like review/merge it.
trafficstars
Hi, I did some work on the python implementation, maybe you want to use some of it.
https://github.com/LaggAt/CLineTester/tree/master/Python
I did:
- init.py in the folder, as I use it as a package
- Let Exceptions propagate
- Encapsulate all in a class, use Properties for result
- Get IP before connecting to CLine, testing is done when calling Test()
- Timeout is configurable by setting Timeout property (default 30s)
- Measure Ping time
- Some quick cleanups
Will probably use it in another project, no Idea if I can put it on GitHub.
Kind regards, Florian.
Attention: as i encapsulated it all in a class there is a new syntax. See Main.py