Ilyas Hamadouche(deleted)
|
Socket accept() never return when shutting down the socket with another thread
|
Ilyas Hamadouche(deleted)
10/23/2018 6:56 AM
post119228
|
Socket accept() never return when shutting down the socket with another thread
Hi,
I am testing the behavior of a socket when it is in the accept () state waiting for a connection, and then it is shut
down by another thread.
In this case, in Linux the accept function is interrupted and caused to return with an error.
However, in QNX the accept doesn't return when shutting down the socket.
I would like to know if this is a normal behavior in QNX? or there some settings to be set to cause the accept() to
return?
(Socket type used: SOCK_STREAM)
BR,
Ilyas
|
|
|