Give more detailed error messages for connection failure. #374

pull TheBlueMatt wants to merge 1 commits into bitcoin:master from TheBlueMatt:neterror changing 1 files +5 −1
  1. TheBlueMatt commented at 2:00 AM on July 2, 2011: member

    No description provided.

  2. jgarzik commented at 2:44 AM on July 2, 2011: contributor

    Not really a scalable approach.

    For *nix: use strerror(3) to convert error code to string

    For Win: "The FormatMessage function can be used to obtain the message string for the returned error." http://msdn.microsoft.com/en-us/library/ms740668%28v=vs.85%29.aspx

  3. Give more detailed error messages for connection failure. 013df1cc3b
  4. TheBlueMatt commented at 11:26 AM on July 2, 2011: member

    Actually, windows does have strerror, see http://msdn.microsoft.com/en-us/library/zc53h9bh(v=vs.80).aspx Redone in a proper manner.

  5. jgarzik referenced this in commit 1a19fc17b2 on Jul 2, 2011
  6. jgarzik merged this on Jul 2, 2011
  7. jgarzik closed this on Jul 2, 2011

  8. laanwj referenced this in commit 0ffb3bd95f on Aug 4, 2016
  9. laanwj referenced this in commit b2135359b3 on Aug 16, 2016
  10. MarcoFalke referenced this in commit 64dfdde0aa on Dec 13, 2016
  11. deadalnix referenced this in commit bc7c93c6cd on Jan 19, 2017
  12. hanchon referenced this in commit 27287cd946 on Aug 17, 2017
  13. classesjack referenced this in commit 78207fc7b7 on Jan 2, 2018
  14. Losangelosgenetics referenced this in commit d0181db077 on Mar 12, 2020
  15. hebasto referenced this in commit a62fc35a15 on Jul 5, 2021
  16. rajarshimaitra referenced this in commit e627085e9e on Aug 5, 2021
  17. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-24 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me