Multi-Network-Protocols support application using swift-nio

Hi all,

I started a swift SIP Client application based on swift-nio. So I'm supposed to implement many Network Protocol handlers (SIP,RTP,etc) that will coexist inside one app.

What is unclear for me is:

  • Does I'm supposed to have as many EventLoopGroup as I have network protocol to support ? Is it a one - one relation. Is there any attention to take by having many EventLoopGroup inside one application.

  • Does many DatagramBootstrap (UDP) and ClientBootstrap (TCP) can coexist inside one application.

Thanks in advance for any advices.

Thierry