* Is SO_REUSEADDR option available for SCTP?
@ 2015-12-21 2:09 Sun Paul
2015-12-21 2:17 ` Vlad Yasevich
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Sun Paul @ 2015-12-21 2:09 UTC (permalink / raw)
To: linux-sctp
Hi
we have running in trouble in bind the port when the SCTP application
is stopped and then started, we got the "Address already in use".
we would like to know whether SO_REUSEADDR option available for SCTP?
if yes, is it also available for the java socket API?
Thanks
RBK
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is SO_REUSEADDR option available for SCTP?
2015-12-21 2:09 Is SO_REUSEADDR option available for SCTP? Sun Paul
@ 2015-12-21 2:17 ` Vlad Yasevich
2015-12-21 2:18 ` Sun Paul
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Vlad Yasevich @ 2015-12-21 2:17 UTC (permalink / raw)
To: linux-sctp
On 12/20/2015 09:09 PM, Sun Paul wrote:
> Hi
>
> we have running in trouble in bind the port when the SCTP application
> is stopped and then started, we got the "Address already in use".
>
> we would like to know whether SO_REUSEADDR option available for SCTP?
Yes it is available for SCTP protocol sockets.
>
> if yes, is it also available for the java socket API?
Don't know. It would have to be something supported in Java.
-vlad
>
> Thanks
>
> RBK
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is SO_REUSEADDR option available for SCTP?
2015-12-21 2:09 Is SO_REUSEADDR option available for SCTP? Sun Paul
2015-12-21 2:17 ` Vlad Yasevich
@ 2015-12-21 2:18 ` Sun Paul
2015-12-21 2:49 ` Vlad Yasevich
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Sun Paul @ 2015-12-21 2:18 UTC (permalink / raw)
To: linux-sctp
is it possible to provide some reference on how to use it?
thanks
On Mon, Dec 21, 2015 at 10:17 AM, Vlad Yasevich <vyasevich@gmail.com> wrote:
> On 12/20/2015 09:09 PM, Sun Paul wrote:
>> Hi
>>
>> we have running in trouble in bind the port when the SCTP application
>> is stopped and then started, we got the "Address already in use".
>>
>> we would like to know whether SO_REUSEADDR option available for SCTP?
>
> Yes it is available for SCTP protocol sockets.
>
>>
>> if yes, is it also available for the java socket API?
>
> Don't know. It would have to be something supported in Java.
>
> -vlad
>
>>
>> Thanks
>>
>> RBK
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is SO_REUSEADDR option available for SCTP?
2015-12-21 2:09 Is SO_REUSEADDR option available for SCTP? Sun Paul
2015-12-21 2:17 ` Vlad Yasevich
2015-12-21 2:18 ` Sun Paul
@ 2015-12-21 2:49 ` Vlad Yasevich
2015-12-22 14:43 ` Vlad Yasevich
2015-12-23 1:41 ` Sun Paul
4 siblings, 0 replies; 6+ messages in thread
From: Vlad Yasevich @ 2015-12-21 2:49 UTC (permalink / raw)
To: linux-sctp
On 12/20/2015 09:18 PM, Sun Paul wrote:
> is it possible to provide some reference on how to use it?
It has the same limitation as usage with TCP sockets. Only 1 listening socket
is allowed, but you can bind multiple sockets with different addresses to the
same port.
-vlad
>
> thanks
>
>
> On Mon, Dec 21, 2015 at 10:17 AM, Vlad Yasevich <vyasevich@gmail.com> wrote:
>> On 12/20/2015 09:09 PM, Sun Paul wrote:
>>> Hi
>>>
>>> we have running in trouble in bind the port when the SCTP application
>>> is stopped and then started, we got the "Address already in use".
>>>
>>> we would like to know whether SO_REUSEADDR option available for SCTP?
>>
>> Yes it is available for SCTP protocol sockets.
>>
>>>
>>> if yes, is it also available for the java socket API?
>>
>> Don't know. It would have to be something supported in Java.
>>
>> -vlad
>>
>>>
>>> Thanks
>>>
>>> RBK
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is SO_REUSEADDR option available for SCTP?
2015-12-21 2:09 Is SO_REUSEADDR option available for SCTP? Sun Paul
` (2 preceding siblings ...)
2015-12-21 2:49 ` Vlad Yasevich
@ 2015-12-22 14:43 ` Vlad Yasevich
2015-12-23 1:41 ` Sun Paul
4 siblings, 0 replies; 6+ messages in thread
From: Vlad Yasevich @ 2015-12-22 14:43 UTC (permalink / raw)
To: linux-sctp
On 12/21/2015 07:59 PM, Sun Paul wrote:
> Understood. we have set the setReuseAddress (java.net API) in our java
> code, but it seems not work as expected. So, is this option applied
> for SCTP layer?
>
Which kernel version are you using? What is the behavior that you are observing?
-vlad
>
> On Mon, Dec 21, 2015 at 10:49 AM, Vlad Yasevich <vyasevich@gmail.com> wrote:
>> On 12/20/2015 09:18 PM, Sun Paul wrote:
>>> is it possible to provide some reference on how to use it?
>>
>> It has the same limitation as usage with TCP sockets. Only 1 listening socket
>> is allowed, but you can bind multiple sockets with different addresses to the
>> same port.
>>
>> -vlad
>>>
>>> thanks
>>>
>>>
>>> On Mon, Dec 21, 2015 at 10:17 AM, Vlad Yasevich <vyasevich@gmail.com> wrote:
>>>> On 12/20/2015 09:09 PM, Sun Paul wrote:
>>>>> Hi
>>>>>
>>>>> we have running in trouble in bind the port when the SCTP application
>>>>> is stopped and then started, we got the "Address already in use".
>>>>>
>>>>> we would like to know whether SO_REUSEADDR option available for SCTP?
>>>>
>>>> Yes it is available for SCTP protocol sockets.
>>>>
>>>>>
>>>>> if yes, is it also available for the java socket API?
>>>>
>>>> Don't know. It would have to be something supported in Java.
>>>>
>>>> -vlad
>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>> RBK
>>>>> --
>>>>> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>>
>>>>
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is SO_REUSEADDR option available for SCTP?
2015-12-21 2:09 Is SO_REUSEADDR option available for SCTP? Sun Paul
` (3 preceding siblings ...)
2015-12-22 14:43 ` Vlad Yasevich
@ 2015-12-23 1:41 ` Sun Paul
4 siblings, 0 replies; 6+ messages in thread
From: Sun Paul @ 2015-12-23 1:41 UTC (permalink / raw)
To: linux-sctp
we are using 2.6.32-504.23.4.el6.x86_64
On Tue, Dec 22, 2015 at 10:43 PM, Vlad Yasevich <vyasevich@gmail.com> wrote:
> On 12/21/2015 07:59 PM, Sun Paul wrote:
>> Understood. we have set the setReuseAddress (java.net API) in our java
>> code, but it seems not work as expected. So, is this option applied
>> for SCTP layer?
>>
>
> Which kernel version are you using? What is the behavior that you are observing?
>
> -vlad
>
>>
>> On Mon, Dec 21, 2015 at 10:49 AM, Vlad Yasevich <vyasevich@gmail.com> wrote:
>>> On 12/20/2015 09:18 PM, Sun Paul wrote:
>>>> is it possible to provide some reference on how to use it?
>>>
>>> It has the same limitation as usage with TCP sockets. Only 1 listening socket
>>> is allowed, but you can bind multiple sockets with different addresses to the
>>> same port.
>>>
>>> -vlad
>>>>
>>>> thanks
>>>>
>>>>
>>>> On Mon, Dec 21, 2015 at 10:17 AM, Vlad Yasevich <vyasevich@gmail.com> wrote:
>>>>> On 12/20/2015 09:09 PM, Sun Paul wrote:
>>>>>> Hi
>>>>>>
>>>>>> we have running in trouble in bind the port when the SCTP application
>>>>>> is stopped and then started, we got the "Address already in use".
>>>>>>
>>>>>> we would like to know whether SO_REUSEADDR option available for SCTP?
>>>>>
>>>>> Yes it is available for SCTP protocol sockets.
>>>>>
>>>>>>
>>>>>> if yes, is it also available for the java socket API?
>>>>>
>>>>> Don't know. It would have to be something supported in Java.
>>>>>
>>>>> -vlad
>>>>>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> RBK
>>>>>> --
>>>>>> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>>>
>>>>>
>>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-12-23 1:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-21 2:09 Is SO_REUSEADDR option available for SCTP? Sun Paul
2015-12-21 2:17 ` Vlad Yasevich
2015-12-21 2:18 ` Sun Paul
2015-12-21 2:49 ` Vlad Yasevich
2015-12-22 14:43 ` Vlad Yasevich
2015-12-23 1:41 ` Sun Paul
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.