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:
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?
@candles, you supplied the timeout argument parameter which init ed to 0.
Also, as @dom96 stated, better to use net module. You already used recv from net .
very many thanks to all :)
yes, realy i have need more to know about nim ;) so... i bought Nim in Action as PDF.