acceptSingle static method

ServerSocket acceptSingle(
  1. L2CapChannel channel
)

Creates an exclusive socket for one channel that will only accept once.

The socket now owns the channel.

Implementation

static ServerSocket acceptSingle(L2CapChannel channel) => _L2CapChannelServerSocket.single(channel);