AsyncSocketChannel

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(reuseAddress: Boolean, sendBufferSize: Option[Int], receiveBufferSize: Option[Int], keepAlive: Boolean, noDelay: Boolean)(implicit s: Scheduler): AsyncSocketChannel

Opens a TCP socket channel

Opens a TCP socket channel

Value Params
keepAlive

java.net.Socket#setKeepAlive

noDelay

java.net.Socket#setTcpNoDelay

receiveBufferSize

java.net.Socket#setReceiveBufferSize java.net.ServerSocket#setReceiveBufferSize

reuseAddress

java.net.ServerSocket#setReuseAddress

s

is the Scheduler used for asynchronous computations

sendBufferSize

java.net.Socket#setSendBufferSize

Returns

an AsyncSocketChannel instance for handling reads and writes.