I'm usually programming in C but now I've discovered NIM. I'm working on Socket programming. In C I think it's quite simple, but in NIM:
[https://pastebin.com/kTn98qP6](https://pastebin.com/kTn98qP6) It seems like it's not working although I'm doing it like it's written in the libs. There's always a nil output. Even though I'm executing it as root. Is it possible that the nativesocket lib isn't that stable? Or am I to dumb? Can somebody help me?
