libmodbus
                                
                                 libmodbus copied to clipboard
                                
                                    libmodbus copied to clipboard
                            
                            
                            
                        feat(modbus): use poll() for Linux instead of select()
The 1024 limitation of select() makes some problem these days. I think using poll() for *nix systems may be a better choice.
We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get yourself added.
After a quick look, it seems the tv struct could be replaced by a single integer var (ms). Are you sure it's supported on other Unix systems (FreeBSD, MacOS, etc)?