Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 1997 21:11:00 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   I rather see the tcp/ip stack fixed than vat patched
Message-ID:  <199712270511.VAA01879@rah.star-gate.com>

next in thread | raw e-mail | index | archive | help


	Tnks,
	Amancio

------- Forwarded Message

Return-Path: owner-freebsd-multimedia@freebsd.org
Received: from ns3.harborcom.net (root@ns3.harborcom.net [206.158.4.7])
          by rah.star-gate.com (8.8.8/8.8.8) with SMTP id VAA01841
          for <hasty@rah.star-gate.com>; Fri, 26 Dec 1997 21:04:51 -0800 (PST)
          (envelope-from owner-freebsd-multimedia@freebsd.org)
Received: from hub.freebsd.org [204.216.27.18] 
	by ns3.harborcom.net with esmtp (Exim 1.73 #1)
	id 0xloQU-0002jk-00; Sat, 27 Dec 1997 00:04:42 -0500
Received: from localhost (daemon@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA02089;
          Fri, 26 Dec 1997 20:41:29 -0800 (PST)
          (envelope-from owner-freebsd-multimedia)
Received: (from root@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id UAA02077
          for multimedia-outgoing; Fri, 26 Dec 1997 20:41:19 -0800 (PST)
          (envelope-from owner-freebsd-multimedia)
Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5])
          by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA02046
          for <multimedia@freebsd.org>; Fri, 26 Dec 1997 20:41:10 -0800 (PST)
          (envelope-from luigi@labinfo.iet.unipi.it)
Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it 
(8.6.5/8.6.5) id EAA07550 for multimedia@freebsd.org; Sat, 27 Dec 1997 
04:00:47 +0100
From: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Message-Id: <199712270300.EAA07550@labinfo.iet.unipi.it>
Subject: a couple of vat patches
To: multimedia@freebsd.org
Date: Sat, 27 Dec 1997 04:00:47 +0100 (MET)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Sender: owner-freebsd-multimedia@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk

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

------- End of Forwarded Message






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712270511.VAA01879>