Lewin Bormann
Lewin Bormann
It may at first seem as a better alternative to do it the RAII way you mentioned. But there comes a load of problems with it, the (in my opinion)...
Hm... Didn't think of that... What about implementing `LIBSOCKET_...` wrappers that may get bitwise ORed, for example: `LIBSOCKET_REUSEADDR == 1`, `LIBSOCKET_REUSEPORT == 2`, `LIBSOCKET_DONTROUTE == 4` etc. And then converting...
cf. https://github.com/dermesser/libsocket/blob/master/C/inet/libinetsocket.c#L572 Maybe a little more compact, and we're fine :+1:
I can't reproduce this, unfortunately. The thrown "const char*" is unfortunate; if you look at the source code it becomes clear that epoll didn't return a ready socket. So for...
Probably not. Compatibility is only guaranteed on FreeBSD, Solaris and Linux, and to use networking on iOS you probably should use the original frameworks provided by Apple.
I'm afraid I can't help you here as I don't have a Windows machine available to test your case :/ The current state is that officially supported systems are only...
I don't think your fcntl call would work, as a socket is not a file. In general, once a call to `recv(2)` returns 0, you can expect the socket to...
sorry for the delay -- I've seen your PR, but don't currently have the time to properly review it :-( I will do it though, sooner or later, if that's...
Haha -- apologies! :) I've restarted the CI build, but could you rebase the commit to make sure there are no conflicts? Last time the build failed on Linux, seemingly...
OK, I fixed the last Travis error. If you push a rebased version, it will trigger a new build - can you try that?