serverSocketBind method

Future<ServerSocket> serverSocketBind (dynamic address, int port, { int backlog: 0, bool v6Only: false bool shared: false })

Asynchronously returns a ServerSocket that connects to the given address and port when successful.

When this override is installed, this functions overrides the behavior of ServerSocket.bind(...).

Implementation

Future<ServerSocket> serverSocketBind(address, int port,
    {int backlog: 0, bool v6Only: false, bool shared: false}) {
  return ServerSocket._bind(address, port,
      backlog: backlog, v6Only: v6Only, shared: shared);
}