Code example for ServerSocketChannel

Methods: register