@Override
    public void connect(InetSocketAddress address) throws IOException {
        NetBareLog.i("UDP connects to: %s:%s",
                address.getAddress().getHostAddress(), address.getPort());
        if (mDatagramChannel.isBlocking()) {
            mDatagramChannel.configureBlocking(false);
        }
        mDatagramChannel.connect(address);
        prepareRead();
    }
A UDP protocol implementation based with {@link NioTunnel}.

@author Megatron King
@since 2018-12-02 19:24
netbare-core/src/main/java/com/github/megatronking/netbare/tunnel/UdpTunnel.java