@moerm yep, the problem was that the buffer was too large: [in recv()]([https://nim-lang.org/docs/net.html#recv%2CSocket%2Cstring%2Cint](https://nim-lang.org/docs/net.html#recv%2CSocket%2Cstring%2Cint)) the size parameter should be maxSize. I thought about this too but I also thought that it'd be too stupid. Thanks for the tip!
@dom96 could it be a good idea to append this useful information to the docs? I'd create an MR too.
