Commit 238b761491bee6b03f95fca9037b8dff8cced7e7

Edward Thomson 2013-08-16T13:31:24

Fix p_inet_pton on windows p_inet_pton on Windows should set errno properly for callers. Rewrite p_inet_pton to handle error cases correctly and add test cases to exercise this function.