object ServerSocket
- Companion:
- class
Type members
Classlikes
Value members
Concrete methods
def accept[F[_] : Effect, B : BytesLike](address: SocketAddress, backlog: Int, bufferSize: Int, group: AsynchronousChannelGroup, gracefulShutdown: Boolean)(f: RawDataSocket[F, B] => F[Unit])(implicit evidence$3: Effect[F], evidence$4: BytesLike[B], ec: ExecutionContext): F[ServerSocketHandler[F]]
Bind server socket to address and accept connections with f.
Bind server socket to address and accept connections with f.
- See also:
def bind[F[_] : Effect, B : BytesLike](socketAddress: SocketAddress, backlog: Int, bufferSize: Int, group: AsynchronousChannelGroup): F[ServerSocket[F, B]]
Open an AsynchronousServerSocketChannel and bind it to socketAddress.
Open an AsynchronousServerSocketChannel and bind it to socketAddress.
- See also:
AsynchronousServerSocketChannel