Non-blocking Socket documentation
I'm shifting this issue: https://github.com/HaxeFoundation/hxcpp/issues/92 over to haxe because I think I'm following the api. If not, I'm happy to fix it.
Assigning to @Simn, there's no code to provide here, only appropriate documentation.
I don't know why this was assigned to me because I don't even know what this is about. Passing on to @pchertok.
After stumbling over this and reading through https://github.com/HaxeFoundation/hxcpp/issues/92, I've added some disclaimers to the docs of read() and write() which I think should be accurate. Not sure if that's enough to close this issue, and it'd be good if @ncannasse could confirm that the docs are ok.
I'm also wondering if it's a good idea to allow using these methods in non-blocking mode at all, since they clearly aren't designed for that and people are almost certainly still going to run into this issue if they haven't read the docs.
It's been 2 1/2 years since I've looked at Haxe sockets, but if there's anything I need to do to update my StackOverflow question and answer for this (which seems to be the top Google result for 'haxe sockets'), please do let me know.
I was never quite sure what we wanted to document here, so I just assume that 5b3aa2fed3 took care of that.