From owner-freebsd-hackers Mon Jun 8 10:36:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA29160 for freebsd-hackers-outgoing; Mon, 8 Jun 1998 10:36:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from terra.Sarnoff.COM (terra.sarnoff.com [130.33.11.203]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA29101 for ; Mon, 8 Jun 1998 10:35:48 -0700 (PDT) (envelope-from rminnich@Sarnoff.COM) Received: (from rminnich@localhost) by terra.Sarnoff.COM (8.6.12/8.6.12) id NAA28910; Mon, 8 Jun 1998 13:35:02 -0400 Date: Mon, 8 Jun 1998 13:35:01 -0400 (EDT) From: "Ron G. Minnich" X-Sender: rminnich@terra To: Darren Reed cc: Nate Williams , hackers@FreeBSD.ORG Subject: Re: ECONNREFUSED on a READ? In-Reply-To: <199806061124.HAA00443@nova.sarnoff.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG darren, you just confused me. Here's the sequence again. 5606 telnet CALL socket(0x2,0x2,0) 5606 telnet RET socket 3 5606 telnet CALL connect(0x3,0x200ac010,0x10) 5606 telnet RET connect 0 5606 telnet CALL sendto(0x3,0xefbfcfd8,0x16,0,0,0) 5606 telnet GIO fd 3 wrote 22 bytes "\^B\M-Z\^A\0\0\^A\0\0\0\0\0\0\^Dc126\0\0\^A\0\^A" 5606 telnet RET sendto 22/0x16 5606 telnet CALL poll(0xefbfcd88,0x1,0x2710) 5606 telnet RET poll 1 5606 telnet CALL recvfrom(0x3,0xefbfd884,0x400,0,0xefbfce10,0xefbfcd7c) 5606 telnet RET recvfrom -1 errno 61 Connection refused 5606 telnet CALL close(0x3) So the socket works, the connect works, the sendto works, the poll shows data to read, i do a recvfrom and get ECONNREFUSED? what's normal about that, especially on a program that behaves differently on every other freebsd and linux and solaris that we have in-house? Am I doing something wrong that has just "happened to work" for the last few years? thanks ron Ron Minnich |Java: an operating-system-independent, rminnich@sarnoff.com |architecture-independent programming language (609)-734-3120 |for Windows/95 and Windows/NT on the Pentium ftp://ftp.sarnoff.com/pub/mnfs/www/docs/cluster.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message