LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-16-2011, 09:44 PM   #1
isbicf
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 06-17-2011, 03:02 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,681
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by isbicf View Post
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?
 
Old 06-19-2011, 07:22 PM   #3
isbicf
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Talking

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SCTP one to one socket programming deva199 Programming 1 06-27-2011 12:20 PM
Raw SCTP socket cannot bind with port? JohnJLewis Linux - Networking 1 07-26-2010 02:14 PM
Unable to insert sctp.ko into kernel singhshyam Linux - Kernel 8 04-27-2010 04:10 AM
SCTP Socket Creation Problem errno=94 dorobou Programming 10 04-24-2007 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration