Tylerian
Tylerian

Reputation: 157

Why Netty 4 has no Datagram ServerChannel

In Netty 4 there is no Nio/Epoll/DatagramServerChannel implementation, so there is no way to create a ServerBootstrap which listens to UDP connections.

So, basically my question is the following: Why is there no implementation of such a DatagramServerChannel class?

Upvotes: 1

Views: 782

Answers (1)

Cem Catikkas
Cem Catikkas

Reputation: 7174

You're looking for io.netty.channel.socket.nio.NioDatagramChannel. See QuoteOfTheMomentServer as example.

Upvotes: 4

Related Questions