Re: Reflector on Linux: recvfrom error on vid_sock

Brian O'Shea (boshea@wpine.com)
Tue, 19 Mar 1996 17:23:39 -0500


>Return-Path: owner-CU-SEEME-L@cornell.edu
>Return-Path: <owner-CU-SEEME-L@cornell.edu>
>Received: from wpnext.wpine.com by visual.wpine.com (8.6.9/VM-941107.1)
> id OAA11787; Tue, 19 Mar 1996 14:58:11 -0500
>Received: from listproc2.mail.cornell.edu by wpnext.wpine.com (8.6.9/WM-941104.2)
> id OAA10272; Tue, 19 Mar 1996 14:56:04 -0500
>Received: from localhost.mail.cornell.edu (localhost [127.0.0.1]) by listproc2.mail.cornell.edu (8.6.12/8.6.9) with SMTP id OAA03705; Tue, 19 Mar 1996 14:10:47 -0500
>Received: from cornell.edu (cornell.edu [132.236.56.6]) by listproc2.mail.cornell.edu (8.6.12/8.6.9) with SMTP id MAA28956 for <CU-SEEME-L@listproc2.mail.cornell.edu>; Tue, 19 Mar 1996 12:37:30 -0500
>Received: (from daemon@localhost) by cornell.edu (8.6.12/8.6.12) id MAA05764 for CU-SEEME-L@listproc2.mail.cornell.edu; Tue, 19 Mar 1996 12:41:12 -0500
>Received: from po.pacific.net.sg (po.pacific.net.sg [203.120.88.11]) by cornell.edu (8.6.12/8.6.12) with SMTP id MAA05680 for <CU-SEEME-L@cornell.edu>; Tue, 19 Mar 1996 12:41:01 -0500
>Received: from link.technet.sg ([203.120.89.132]) by po.pacific.net.sg
> (post.office MTA v1.9.3 ID# 0-11140) with SMTP id ABR28737;
> Wed, 20 Mar 1996 01:40:13 +0800
>Message-Id: <2.2.32.19960319174437.00b7cff4@pacific.net.sg>
>Date: Wed, 20 Mar 1996 01:44:37 +0800
>Reply-To: rll@marvin.corp.Arco.COM
>Sender: owner-CU-SEEME-L@cornell.edu
>Precedence: bulk
>From: "Richard L. Lamb" <rll@marvin.corp.Arco.COM> (by way of Sysadmin <magnum22@pacific.net.sg>)
>To: <CU-SEEME-L@cornell.edu>
>Subject: Reflector on Linux: recvfrom error on vid_sock
>Mime-Version: 1.0
>Content-Type: text/plain; charset="us-ascii"
>X-To: Multiple recipients of list SIBERNET-L <SIBERNET-L@MAIL.EWORLD.COM>,
> Gail Roberts <groberts@WSUNIX.WSU.EDU>, industrial@TradeNet.org,
> TradeNet World Service <list@TradeNet.org>,
> "Peter Alapin" <nstn1026@fox.nstn.ns.ca>, ER <elr01@www.gnofn.org>,
> service@TradeNet.org, TradeNet World Service <list@TradeNet.org>,
> <CU-SEEME-L@cornell.edu>, "Stuart Cartwright" <Metebelis_3@msn.com>,
> Multiple recipients of list SIBERNET-L <SIBERNET-L@MAIL.EWORLD.COM>,
> Randy Schad <sagacio@bright.net>,
> Multiple recipients of the eeurope-business-digest list <eeurope-business-digest@hookup.net>,
> eeurope-business-request@hookup.net, technology@TradeNet.org,
> TradeNet World Service <list@TradeNet.org>
>X-Sender: magnum22@pacific.net.sg
>X-Mailer: Windows Eudora Pro Version 2.2 (32)
>X-PH: V4.1@cornell.edu (Cornell Modified)
>X-Listprocessor-Version: 7.2(a) -- ListProcessor by CREN
>
>I am trying to run the 4.0B3 reflector under Linux 1.2.13, with libc
>4.7.5 (a.out). It works for a few minutes, but dies with the following
>error message:
>
>recvfrom error on vid_sock : Connection refused: FATAL ERROR: EXITING
>
>Apparently, this is a long-standing problem. The old 3.0B3 reflector
>that is in the Linux archives at sunsite.unc.edu has a README that
>mentions patching the code to ignore this error.
>
>I've tried the reflector from Cornell and the one from White Pine;
>they seem to be identical.
>
>As popular as Linux and CU-SeeMe are, somebody else has to have seen
>this. Anyone know how to make it work?
>

len = recvfrom (fd, (void *)buf, MAXMSG, 0, &tmpSock, &tmpSockLen);
if (-1 == len) {
switch(errno) {
case EINTR:
#ifdef IS_LINUX
case ECONNREFUSED: /* Weird LINUX behavior.... */
#endif /* IS_LINUX */
return(0);
}
return(len);
}

This "fix" is in the commercial reflector, which will be out even sooner if I
wasn't doing this.... :-)

-bos

+***********************************************************************+
+ Brian O'Shea White Pine Software +
+ Network/OS Software Engineer 15 Messenger Square +
+ boshea@wpine.com Suite 8A +
+ Fax 508-695-2378 Plainville MA, 02762 +
+ All it takes is all you've got. +
+***********************************************************************+