pub(super) async fn run(
port: u16,
system_datagrams: Sender<InSystemDatagram>,
package_datagrams: Sender<InPackageDatagram>,
socket: ProtocolSocket
)Expand description
Handler of input datagrams received with socket.
The handler runs a loop which finishes when system_datagrams and
user_datagrams channel are closed.