netty5/transport-native-epoll/src
Violeta Georgieva 3f9a5f50be
Add support for Unix domain datagram sockets when using native epoll/kqueue transport (#11423)
Motivation:

There are use cases when Unix domain datagram sockets are needed for communication. This PR adds such support for Epoll/KQueue.

Modification:

- Expose Channel, Config and Packet interfaces/classes for Unix domain datagram sockets. All interfaces/classes are in `transport-native-unix-common` module in order to be available for KQueue and Epoll implementations
- Add JNI code for Unix domain datagram sockets
- Refactor `DatagramUnicastTest` so that it can be used for testing also Unix domain datagram sockets
- Add Unix domain datagram sockets implementation for KQueue transport
- Add Unix domain datagram sockets implementation for Epoll transport

Result:

Fixes #6737
2021-07-09 09:45:43 +02:00
..
main Add support for Unix domain datagram sockets when using native epoll/kqueue transport (#11423) 2021-07-09 09:45:43 +02:00
test/java/io/netty/channel/epoll Add support for Unix domain datagram sockets when using native epoll/kqueue transport (#11423) 2021-07-09 09:45:43 +02:00