Originally posted by: SystemAdmin
I have a multi threads application on AIX 5.3. When the thread closes a socket, the main process accepts a new connection with the same file descriptor (already closed by the previous thread) but when it affects it to a new thread to read the data, the recv function fails with errno EBADF.
this happens when the period between the close and accept is less than 20s.
I don't know if there is a patch for this issue.
#AIX-Forum