Add support for UDP packets. This might create some headaches because they follow completely different rules regarding how replies are managed.
Divergent Use Cases
Bound Listeners: These inputs are bound to a specific local and remote address and port combination. This allows them to send multiple packets/replies. The initial packet should be routed through a TrixyUDPServer class that will use the asyncio module to bind a TrixyUDPInput on both endpoints, thus forming a bidirectional channel.
Unbound Listeners: These inputs can be created directly without use of a server class because they do not need to manage any protocol state.
Behavior of TrixyUDPServer
Add an argument to the __init__ method such as lock_to_host_port. This argument indicates whether to initialize and bind a new TrixyUDPInput instance or simply create such an instance in the background and route all traffic trhough it.
Add support for UDP packets. This might create some headaches because they follow completely different rules regarding how replies are managed.
Divergent Use Cases
TrixyUDPServer
class that will use theasyncio
module to bind aTrixyUDPInput
on both endpoints, thus forming a bidirectional channel.Behavior of TrixyUDPServer
Add an argument to the
__init__
method such aslock_to_host_port
. This argument indicates whether to initialize and bind a newTrixyUDPInput
instance or simply create such an instance in the background and route all traffic trhough it.