AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only

sockets problem on AIX 5.3 recv failure even if the accept is OK

  • 1.  sockets problem on AIX 5.3 recv failure even if the accept is OK

    Posted Tue November 20, 2007 01:46 PM

    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