LdapSocketRefusedException constructor

LdapSocketRefusedException(
  1. SocketException se,
  2. String remoteServer,
  3. int remotePort
)

Implementation

LdapSocketRefusedException(
    SocketException se, this.remoteServer, this.remotePort)
    : super(se, 'Cannot establish connection') {
  assert(socketException.osError != null);
  assert(socketException.osError?.errorCode == 61);
  localPort = socketException.port!;
}