Code example for SocketChannel

Methods: close, configureBlocking, register