util.Channels.accept
Returns the accepted base.Channel
object for a given
a server-socket.
Syntax
util.Channels.accept(
server base.Channel
)
RETURNS base.Channel
- server is a
base.Channel
object opened withbase.Channel.openServerSocket()
.
Usage
The util.Channels.accept()
takes a base.Channel
server-socket
object that has been returned from a call to the util.Channels.select()
method.
The resulting base.Channel
object can be used to read data from.
For a complete description and code example, see util.Channels.select()
.