Commit Graph

5 Commits (45e44a66e5d35ee6d11982833754a0db3f0cdb01)

Author SHA1 Message Date
Pierre Ossman 3528e358cc Free memory from getaddrinfo()
We handled this in the failure scenario, but not in the vastly more
common successful case.
5 years ago
Andrew Yoder c312417d81 Correction to socket error connection message 5 years ago
Alex Tanskanen 03639406dc Throw GAIException() for getaddrinfo errors
Created a new subclass of Exception called GAIException() that will
handle error messages from getaddrinfo() instead of letting Exception()
handle it. GAIException() will make use of gai_strerror() to map the
error code to text. On Windows, gai_strerrorW() must be used if the text
is encoded with UTF-8.
5 years ago
Alex Tanskanen 209712b18f Fix typo in SocketException message 5 years ago
matt 408c005d3e Initial commit 5 years ago