ch = DatagramChannel.open();
} catch (IOException e) {
throw new MinaRuntimeException("can't create a new socket, out of file descriptors ?", e);
}
try {
ch.configureBlocking(false);
} catch (IOException e) {
throw new MinaRuntimeException("can't configure socket as non-blocking", e);
}
UdpSessionConfig config = getSessionConfig();