From owner-freebsd-ports Thu Jul 6 11:31:35 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA25589 for ports-outgoing; Thu, 6 Jul 1995 11:31:35 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id LAA25581 for ; Thu, 6 Jul 1995 11:31:33 -0700 Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <15518(5)>; Thu, 6 Jul 1995 11:30:31 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <49860>; Thu, 6 Jul 1995 11:30:11 -0700 X-Mailer: exmh version 1.6.1 5/23/95 To: "Janusz Kokot" cc: ports@freebsd.org Subject: Re: Radio port In-reply-to: Your message of "Thu, 06 Jul 95 08:24:57 PDT." <28E112A0C09@demeter.ipan.lublin.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 6 Jul 1995 11:30:01 PDT From: Bill Fenner Message-Id: <95Jul6.113011pdt.49860@crevenia.parc.xerox.com> Sender: ports-owner@freebsd.org Precedence: bulk In message <28E112A0C09@demeter.ipan.lublin.pl> you write: >> > I uploaded port of radio-2.0.4 (broadcasting audio over internet) >> > to freebsd.cdrom.com/pub/FreeBSD/incoming/radio.tgz >> >> Please take radio1.tgz this is with multicast. >radio2.tgz sorry I'm afraid I don't understand this (from radio2.tgz:radio/patches/patch-aa:) diff -c ../radio.orig/radio.c ./radio.c *** ../radio.orig/radio.c Thu Jul 6 15:07:03 1995 --- ./radio.c Thu Jul 6 15:27:55 1995 *************** *** 1000,1006 **** else grpaddr.s_addr = inet_addr(group); ! if (!IN_MULTICAST(grpaddr.s_addr)) { fprintf(stderr, "Bad multicast group: %s\n", group); exit(1); } --- 1085,1091 ---- else grpaddr.s_addr = inet_addr(group); ! if (((long)(grpaddr.s_addr) & 0xf0) != 0xe0) { fprintf(stderr, "Bad multicast group: %s\n", group); exit(1); } What's wrong with IN_MULTICAST? When I attempt to build this port, I get a lot of warnings. (i.e. what is a struct stockaddr?) Bill