No description provided.
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-
TheBlueMatt commented at 2:00 AM on July 2, 2011: member
-
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
-
Give more detailed error messages for connection failure. 013df1cc3b
-
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.
- jgarzik referenced this in commit 1a19fc17b2 on Jul 2, 2011
- jgarzik merged this on Jul 2, 2011
- jgarzik closed this on Jul 2, 2011
- laanwj referenced this in commit 0ffb3bd95f on Aug 4, 2016
- laanwj referenced this in commit b2135359b3 on Aug 16, 2016
- MarcoFalke referenced this in commit 64dfdde0aa on Dec 13, 2016
- deadalnix referenced this in commit bc7c93c6cd on Jan 19, 2017
- hanchon referenced this in commit 27287cd946 on Aug 17, 2017
- classesjack referenced this in commit 78207fc7b7 on Jan 2, 2018
- Losangelosgenetics referenced this in commit d0181db077 on Mar 12, 2020
- hebasto referenced this in commit a62fc35a15 on Jul 5, 2021
- rajarshimaitra referenced this in commit e627085e9e on Aug 5, 2021
- DrahtBot locked this on Sep 8, 2021
Contributors