Google is committed to advancing racial equity for Black communities. See how.

bind method

void bind (Socket socket)

Implementation

void bind(Socket socket) {
  if (isBound) {
    throw ZirconApiError('SocketReader is already bound.');
  }
  _socket = socket;
  _asyncWait();
}