"IO Library Issue #127: Socket Closure Bug in listen() Function"
One of the prominent issues among various concerns is identified within the listen() function in the socket.c file.
The issue arises when reading getSn_SR(sn); if a TCP connection is already established, it leads to a socket closure state.
Upon testing, under normal circumstances, this issue does not manifest.
However, introducing a delay of approximately 1 second before line 254 triggers the problem. In this scenario, getSn_SR(sn) outputs SOCK_ESTABLISHED instead of SOCK_LISTEN, resulting in a socket closure.
When observing the serial output, errors become evident as described below.
I have made the following changes and have already submitted a Pull Request with the alterations.
Here is the Python code utilized for testing:
Feel free to provide any additional context or details, and I'll be happy to assist further.
IoLibrary issue: https://github.com/Wiznet/ioLibrary_Driver/issues/127
'Development > WIZnet' 카테고리의 다른 글
If you control the ppt using bluetooth? (0) | 2016.04.05 |
---|---|
[WIZnet 체험단 지원] WIZwiki-W7500 RC Project (0) | 2015.09.10 |
#HomeAutomation Step1 초음파센서와 터치버튼 (2) | 2014.11.26 |
The temperture monitering using Exosite Cloud (0) | 2014.11.24 |
[arduino]WIZ550io + 온도/초음파센서를 xively에서 모니터링[1-1] - Fritzing (0) | 2014.09.18 |