Hello, Having read that some stack support it I have tried to run multiple programs all opening the same PORT in broadcast mode hoping they would all receive a single broadcast packet at the same time but they don`t only one of them does. Anything i can do to make this work? Mario
I am assuming you have set both socket options SO_REUSEADDR and SO_REUSEPORT? On 13-07-26 01:43 PM, Mario Charest wrote: > Hello, > > Having read that some stack support it I have tried to run multiple programs all opening the same PORT in broadcast mode hoping they would all receive a single broadcast packet at the same time but they don`t only one of them does. Anything i can do to make this work? > > Mario > > > > _______________________________________________ > > General > http://community.qnx.com/sf/go/post103664 > To cancel your subscription to this discussion, please e-mail general-networking-unsubscribe@community.qnx.com
I will double check later today, but I believe so because otherwise the second applicagtion will refuse to create the socket. -----Message d'origine----- De : Gervais Mulongoy [mailto:community-noreply@qnx.com] Envoyé : Friday, July 26, 2013 10:52 AM À : general-networking@community.qnx.com Objet : Re: ¨Reception of broadcast packet I am assuming you have set both socket options SO_REUSEADDR and SO_REUSEPORT? On 13-07-26 01:43 PM, Mario Charest wrote: > Hello, > > Having read that some stack support it I have tried to run multiple programs all opening the same PORT in broadcast mode hoping they would all receive a single broadcast packet at the same time but they don`t only one of them does. Anything i can do to make this work? > > Mario > > > > _______________________________________________ > > General > http://community.qnx.com/sf/go/post103664 > To cancel your subscription to this discussion, please e-mail > general-networking-unsubscribe@community.qnx.com _______________________________________________ General http://community.qnx.com/sf/go/post103665 To cancel your subscription to this discussion, please e-mail general-networking-unsubscribe@community.qnx.com
Have you tried the socket option SO_REUSEPORT? It must be set on all of the sockets to work. Dave -----Original Message----- From: Mario Charest [mailto:community-noreply@qnx.com] Sent: July-26-13 1:44 PM To: general-networking Subject: ¨Reception of broadcast packet Hello, Having read that some stack support it I have tried to run multiple programs all opening the same PORT in broadcast mode hoping they would all receive a single broadcast packet at the same time but they don`t only one of them does. Anything i can do to make this work? Mario _______________________________________________ General http://community.qnx.com/sf/go/post103664 To cancel your subscription to this discussion, please e-mail general-networking-unsubscribe@community.qnx.com