Date: Sat, 27 Dec 1997 04:00:47 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: multimedia@freebsd.org Subject: a couple of vat patches Message-ID: <199712270300.EAA07550@labinfo.iet.unipi.it>
next in thread | raw e-mail | index | archive | help
Hi, a couple of patches for vat which I'd like to be committed (any volunteer ?). The first one has been floating around for a while and serves to let multiple instances of vat communicate using the 'conference bus'. The second one circumvents a feature of the FreeBSD network stack: when some ICMP msg is received, the socket (even if it is UDP) is disconnected causing further writes to fail. This is annoying when using vat on unicast and either the remote party is not ready yet. I also have a (relatively small) set of diffs to audio-voxware.cc, audio.cc and a few xpm files (icons) to send audio from a mu-law file. I find this useful for testing, but there are other obvious applications. If there is interest I can make the diffs available. Cheers Luigi diff -ubwr group-ipc.cc.orig vat-4.0b2/group-ipc.cc --- group-ipc.cc.orig Tue Feb 6 23:43:40 1996 +++ group-ipc.cc Mon Sep 1 22:12:12 1997 @@ -166,7 +166,7 @@ perror("GroupIPC: IP_MULTICAST_IF"); exit(1); } -#ifdef ultrix +#if defined(ultrix) || defined(__FreeBSD__) ttl = 1; if (setsockopt(ssock_, IPPROTO_IP, IP_MULTICAST_LOOP, &ttl, 1) < 0) { diff -ubwr net.cc.orig net.cc --- net.cc.orig Thu Mar 21 12:49:18 1996 +++ net.cc Fri Dec 12 07:20:10 1997 @@ -166,7 +166,7 @@ switch (errno) { case ECONNREFUSED: /* no one listening at some site - ignore */ -#if defined(__osf__) || defined(_AIX) +#if defined(__osf__) || defined(_AIX) || defined(__FreeBSD__) /* * Due to a bug in kern/uipc_socket.c, on several * systems, datagram sockets incorrectly persist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712270300.EAA07550>