Eric Mastro 2290ab3400
pass listenError to transport
Now supports pessimistic (default) and optimistic cases where we have listenError callbacks for both the switch and the transports.

Still to do:
1. Add two more test cases for partially optimistic/pessimistic.
2. Add listenError changes and removal of non-handled addresses in to `transports/wstranport.nim`
3. Potentially investigate way to make removal on non-handled addresses in transport base class?
4. Add tests for changes to tcptransport and wstransport
2021-12-17 21:27:07 +11:00
..