Skip to content

IO Library Issue

IO Library Issue #127

irina

Published November 21, 2023

IO Library Issue

Project description

"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…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.