Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
複数のソケットから着信 UDP データグラムをリッスンする場合、いくつのChannelFactoryをConnectionlessBootstrap使用する必要がありますか? 唯一?ソケットごとに 1 つですか?
ChannelFactory
ConnectionlessBootstrap
パイプラインのデコード ハンドラがソケットごとに異なることは正確です。あるポートから SIP メッセージを受信することを期待し、別のポートから DNS メッセージを受信することを期待しています。
ありがとう
リッスンするポートごとに 1 つの NioDatagramChannelFactory