LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Unable to close SCTP socket. (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-close-sctp-socket-886796/)

isbicf 06-16-2011 09:44 PM

Unable to close SCTP socket.
 
I create SCTP socket with port number 60011. The SCTP socket descriptor value is 18.
When I try to close the socket with the socket descriptor, sometimes it is not closed without errno.

What are the possible causes?
Any idea will be appreciated.

Thank you.

Skaperen 06-17-2011 03:02 PM

Quote:

Originally Posted by isbicf (Post 4388129)
I create SCTP socket with port number 60011. The SCTP socket descriptor value is 18.
When I try to close the socket with the socket descriptor, sometimes it is not closed without errno.

What are the possible causes?
Any idea will be appreciated.

Have you peeled off any streams? I suspect the descriptor for the original session would have troubles if it is called while a peeled off stream is still open. It might be setting the session state waiting for the stream to close.

What errno value are you getting?

isbicf 06-19-2011 07:22 PM

Thank you for your help.
I think I should check the peeled off stream out as your suggestion.


All times are GMT -5. The time now is 05:14 PM.