View | Details | Raw Unified
Collapse All | Expand All

(-) ./src/daemon/driver/driverMain.ml (-9 / +12 lines)
 Lines 340-354    Link Here 
      CommonGlobals.exit_properly 71
      CommonGlobals.exit_properly 71
    end;
    end;
  (
  ( let resolve_name hostname =
    let hostname = "www.mldonkey.net" in
      try
    try
	ignore (Ip.from_name hostname);
      ignore(Ip.from_name hostname);
	true
      DriverInteractive.dns_works := true
      with _ -> false
    with e ->
    in
        lprintf (_b "\nDNS resolution does not work! Looking up %s failed with %s.")
    let hostnames =
           hostname (Printexc2.to_string e);
      ["www.mldonkey.org"; "mldonkey.sf.net"; "www.mldonkey.net"; "www.google.com"]
	lprintf "
    in
    DriverInteractive.dns_works := List.exists resolve_name hostnames;
    if not !DriverInteractive.dns_works then lprintf "
The core therefore is unable to get eDonkey serverlists and loading
The core therefore is unable to get eDonkey serverlists and loading
.torrent files via dllink from websites is also impossible.
.torrent files via dllink from websites is also impossible.
If you are using MLDonkey in a chroot environment you should
If you are using MLDonkey in a chroot environment you should