Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - ¨Reception of broadcast packet: (4 Items)
   
¨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
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

RE: ¨Reception of broadcast packet  
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

RE: ¨Reception of broadcast packet  
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