LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Raw SCTP socket cannot bind with port? (https://www.linuxquestions.org/questions/linux-networking-3/raw-sctp-socket-cannot-bind-with-port-822243/)

JohnJLewis 07-26-2010 10:30 AM

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.

nini09 07-26-2010 02:14 PM

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.


All times are GMT -5. The time now is 08:36 PM.