LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-26-2010, 11:30 AM   #1
JohnJLewis
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Raw SCTP socket cannot bind with port?


If I open a raw SCTP socket, am I able to bind to a specific port? (I only want to see SCTP packets from a particular IP address AND port.) Or, any raw SCTP socket, regardless of port binding , will get all SCTP packets received by the OS from that IP address? The port doesn't matter and is ignored.
 
Old 07-26-2010, 03:14 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,060

Rep: Reputation: 88
Yes, it can bind to a particular IP and port on server side. That means that the socket can only accept the incoming request from the particular IP and port.
 
  


Reply

Tags
sctp, sockets


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
Raw UDP Socket and ICMP Destination (Port) Unreachable bobble Programming 5 07-06-2011 05:07 AM
Raw socket and bind question, how to implement correctly. coolsti Linux - Networking 1 06-29-2009 12:49 AM
Can I bind to a serial port using BIND Socket API?? venkat_p257 Linux - General 2 12-04-2007 06:49 AM
Why is my socket unable to bind to the port in the C Code. mcp_achindra Programming 10 03-24-2004 09:34 AM


All times are GMT -5. The time now is 01:04 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration