www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 20 Feb 2009 09:39:27 -0600 |
From: | Brian Ford <Brian DOT Ford AT FlightSafety DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
To: | victhor_1983 <victhor_1983 AT yahoo DOT es> |
cc: | cygwin AT cygwin DOT com |
Subject: | Re: Problem Adding Membership Multicast Errno 22 |
In-Reply-To: | <22120193.post@talk.nabble.com> |
Message-ID: | <Pine.CYG.4.58.0902200921190.3572@PC1163-8460A-XP.flightsafety.com> |
References: | <22119431 DOT post AT talk DOT nabble DOT com> <20090220124814 DOT GC24834 AT calimero DOT vinschen DOT de> <22120193 DOT post AT talk DOT nabble DOT com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 definately won't work on Windows: http://www.cygwin.com/ml/cygwin/2006-08/msg00703.html I assume you aren't trying to define IP_ADD_MEMBERSHIP yourself? http://cygwin.com/ml/cygwin/2005-09/msg01007.html Are you sure the interface IP exists and is up with a link on your test system? > >> Multic.imr_interface.s_addr=inet_addr("138.4.32.34"); > Corinna Vinschen-2 wrote: > > > Is it possible that you have to use the IP_MULTICAST_IF option on > > Windows before you can use IP_ADD_MEMBERSHIP?!? Nope. IP_MULTICAST_IF specifies which interface to use for outbound traffic. IP_ADD_MEMBERSHIP tells a particular interface to receive multicast traffic. That IP must be present and up with link, or EINVAL will be returned. -- Brian Ford Staff Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |