Re: Problem Adding Membership Multicast Errno 22

2009-02-23 Thread victhor_1983
tp://www.nabble.com/Problem-Adding-Membership-Multicast-Errno-22-tp22119431p22159154.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread Brian Ford
On Fri, 20 Feb 2009, victhor_1983 wrote: > Direccion.sin_addr.s_addr=inet_addr("224.0.22.1");//("138.4.32.34"); Binding to a multicast address doesn't work on windows. You must bind to INADDR_ANY. -- Brian Ford Staff Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafe

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread victhor_1983
p://www.nabble.com/Problem-Adding-Membership-Multicast-Errno-22-tp22119431p22123866.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread victhor_1983
o al añadir el grupo de Multicast, codigo %i\n", errno); } signal (SIGINT, salir); signal (SIGALRM, SIG_IGN); return 0; } Maybe the error is in some other part. Thanks again for your insight and y

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread Brian Ford
On Fri, 20 Feb 2009, victhor_1983 wrote: > Thanks for the advice, I just tried it, but I keep getting the same mistake. > Maybe there is no IP_ADD_MEMBERSHIP option for Multicast in Cygwin? There definately is as I use it daily. I'm not sure the cause of the EINVAL, but without a bind, it defina

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread victhor_1983
P?!? > > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Project Co-Leader cygwin AT cygwin DOT com > Red Hat > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread Corinna Vinschen
On Feb 20 13:48, Corinna Vinschen wrote: > On Feb 20 04:05, victhor_1983 wrote: > > status= setsockopt(Descriptor, IPPROTO_IP, IP_ADD_MEMBERSHIP, &Multic, > > sizeof(Multic)); > > if (status<0){ > >printf("Fallo al añadir el grupo de Multicast, codigo %i\n", > > errno); > >

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread Corinna Vinschen
On Feb 20 04:05, victhor_1983 wrote: > > Hi, > > I have written a C++ program for a Multicast Client that compiles and runs > on Ubuntu. I tried to compile and run it on Cygwin version 1.5.25 (June > 2008). However, when I run the code, the Multicast receiving socket doesn't > seem to work. The p

Problem Adding Membership Multicast Errno 22

2009-02-20 Thread victhor_1983
_MEMBERSHIP, &Multic, sizeof(Multic)); if (status<0){ printf("Fallo al añadir el grupo de Multicast, codigo %i\n", errno); } I would really appreciate your help with this. Thanks in advance. Victor -- View this message in context: http://www.nabble.com/Pro