I'm not sure if windows XP support is desired or not, however the function inet_ntop does not exist in the version of WS2_32.dll included with XP.
It would appear as though there is an alternate function to use based upon the code I found here: http://stackoverflow.com/questions/20023588/c-procedure-entry-point-inet-ntop-ws2-32-dll-on-xp
I'm not smart enough to help implement this stuff, and like I stated earlier, I'm not sure if y'all intend to support XP, but just thought I'd let y'all know.
Thanks for the awesome language. I hope to see it continue to grow! :)
Edit: Example code
import httpclient
echo getContent( "http://www.google.com" )
Produces the Error:
could not import: inet_ntop
I can't seem to get the code block stuff to work. Hopefully it is rendering properly for you.
Well... "Windows Embedded Industry" support lasts till 2019 and that is based on Windows XP SP3 :)
So when bank ATM, kiosk-systems and the German railway ticket machines still use Windows XP... can Nim really dare to not support it? ;-)
I had this problem too. You should post this issue on github or else it wont be solved ever. The "bug" was introduced here https://github.com/nim-lang/Nim/pull/3323, see what was added and comment it on your source code.
btw here some alternatives are discussed http://stackoverflow.com/questions/1561469/is-there-an-alternative-to-inet-ntop-inetntop-in-windows-xp
You should post this issue on github or else it wont be solved ever
Unfortunately that is often true. Please do report bugs on Github, that way they will be fixed... eventually :)
Just a quick vote of support that perfectly sane people still run Windows XP (when they absolutely positively must run Windows), and will continue to for a very long time.
I have an 8-year-old laptop on which I've informally benchmarked various OS'es for Web client stack performance. On Unix the NIC driver required an emulation layer that slowed things down. And among Windows versions, XP was the fastest (and I'm not the only one with this experience).
I think XP is also the last version that allows you to fully uninstall some crud, including all versions of Dot-Net.