Wiznet / ioLibrary_Driver

ioLibrary_Driver can be used for the application design of WIZnet TCP/IP chips as W5500, W5300, W5200, W5100 W5100S.
MIT License
602 stars 330 forks source link

Fix issue #84 #102

Closed AlexIII closed 3 years ago

AlexIII commented 4 years ago

Fixes issue #84. Adds new option to ctlsocket() - CS_GET_NREAD - get the number of bytes that are immediately available for reading (as per FIONREAD option in ioctl(2)). Doc files need to be regenerated.

midnightcow commented 3 years ago

Hi Dear! Your CS_GET_NREAD control is already implemented at getsockopt(). Refer to getsockopt() function. Thx.

AlexIII commented 3 years ago

You're right, I missed that.

84 still needs to be addressed though. I've changed the commit accordingly.

AlexIII commented 1 year ago

Can someone merge it? #84 is still needs to be fixed