stephane/libmodbus — pull request #88 by jlnr (2012-12-16 15:14:22+00:00)
Title: Use non-blocking sockets on platforms without SOCK_NONBLOCK (Win32, OS X, iOS)

Hello Stephane,

Thanks for the clean library.

I needed nonblocking sockets on platforms that do not support `SOCK_NONBLOCK`. I have not played around with the test suite and I cannot be specific about what I am doing (sadly). Maybe you or someone else will find this useful :) What would be needed to get this code merged?

The Win32 code is the same as mentioned in this old pull request:

https://github.com/stephane/libmodbus/pull/19#issuecomment-2359113