Re: No option of SO_REUSE_PORT.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



TCP and UDP are separate protocols.
Binding/closing/whatever a TCP socket on port X has nothing to do with a UDP socket on port X. Just think about a socket being locally  identifiable by its {protocol, address, port} triplet.

On Tue, Feb 11, 2020, 10:49 AM Skale Franz <franz.skale@xxxxxxxxxxxxxxxxxxx> wrote:

Hi,

this is a portability issue, but basically, SO_REUSEADDR does the same.

Did you configure tcp switching ?

Check the file: pjsip/include/pjsip/sip_config.h

TCP Switching can be enabled/disabled at config state.

E.g: pjsip_cfg()->endpt.disable_tcp_switch = PJ_TRUE;

A really good explanation can be found here:

https://stackoverflow.com/questions/14388706/how-do-so-reuseaddr-and-so-reuseport-differ


Best regards

Franz



Von: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> im Auftrag von Manika Vasagam <psmanik@xxxxxxxxx>
Gesendet: Dienstag, 11. Februar 2020 10:30
An: pjsip list
Betreff: No option of SO_REUSE_PORT.
 
Hi all,
On analyzing PJSIP could see TCP  and UDP socket uses same port.
But in PJSIP 2.7 there is no option of SO_REUSEPORT.How UDP data is received when TCP socket is closed.
+++++++++++++++++++++
Registered an U.E with IMS network.Then I do a   un-register(ru) .Later should I need to do a register to re-register  with IMS network??
Tried rr but Re-register is not working.
++++++++++++++++++++++++++++++++++++++

Any suggestions?



Thanks
P.S.Manika Vasagam

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux