Commit Graph

2 Commits (79ca2ee0541b8f7ff4a0b9a4a636052edf7d4448)

Author SHA1 Message Date
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
matt 408c005d3e Initial commit 5 years ago