Re: Problem Adding Membership Multicast Errno 22

2009-02-23 Thread victhor_1983
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. Exactly, my problem is already solved, thanks. Victor -- View this message in context: http://www.nabble.com/Problem-Adding-Membership

Problem Adding Membership Multicast Errno 22

2009-02-20 Thread victhor_1983
){ 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/Problem-Adding-Membership-Multicast-Errno-22-tp22119431p22119431.html Sent from

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 problem

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 (status0){ printf(Fallo al añadir el grupo de Multicast, codigo %i\n, errno); } I'm

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread victhor_1983
: http://www.nabble.com/Problem-Adding-Membership-Multicast-Errno-22-tp22119431p22120193.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: 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

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread victhor_1983
again for your insight and your help. Victor -- View this message in context: http://www.nabble.com/Problem-Adding-Membership-Multicast-Errno-22-tp22119431p22123508.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Problem Adding Membership Multicast Errno 22

2009-02-20 Thread victhor_1983
-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: http://cygwin.com/docs.html FAQ

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 FlightSafety