Added a create(val) factory method for instantiating a Status.
Fixed except clauses and references to old ACNET_XX globals.
Some concerns:
I had to change ACNET_SUCCESS = 1 + 256 * 0 to ACNET_SUCCESS = 0 - otherwise I get ValueError: Invalid ACNET Status code: 0 -> Resolved by validating code 0.
When testing I get ConnectionRefusedError: [Errno 10061] Connect call failed ('131.225.135.139', 6808) -> Resolved by typing the correct port, addressed in #44
To address #45
create(val)
factory method for instantiating aStatus
.except
clauses and references to oldACNET_XX
globals.Some concerns:
ACNET_SUCCESS = 1 + 256 * 0
toACNET_SUCCESS = 0
- otherwise I getValueError: Invalid ACNET Status code: 0
-> Resolved by validating code0
.ConnectionRefusedError: [Errno 10061] Connect call failed ('131.225.135.139', 6808)
-> Resolved by typing the correct port, addressed in #44