ioLibrary_Driver
ioLibrary_Driver copied to clipboard
Added support for recv timeout feature
I have added a feature to support timeout in recv() call. We can now use the setsockopt() with option SO_RCVTIMEO to set timeout value for the specified socket. To get access to a one millisecond counter, I have extended the WIZCHIP stuct to have a new function pointer _get_tick() which should return the value of one ms tick counter. On STM32 platform I connect this to the HAL_GetTick() function.