From owner-freebsd-net Thu Sep 2 3: 8:50 1999 Delivered-To: freebsd-net@freebsd.org Received: from ritchie.wplus.net (relay.wplus.net [195.131.52.179]) by hub.freebsd.org (Postfix) with ESMTP id 2630214EB4 for ; Thu, 2 Sep 1999 03:02:56 -0700 (PDT) (envelope-from dms@woland.wplus.net) Received: from woland.wplus.net (woland.wplus.net [195.131.0.39]) by ritchie.wplus.net (8.9.1/8.9.1/wplus.2) with ESMTP id OAA18974; Thu, 2 Sep 1999 14:02:31 +0400 (MSK/MSD) X-Real-To: davel@entera.com Received: (from dms@localhost) by woland.wplus.net (8.9.2/8.9.1/wplus.2) id OAA19425; Thu, 2 Sep 1999 14:02:30 +0400 (MSD) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19990902023313.B57569@beastie.localdomain> Date: Thu, 02 Sep 1999 14:02:30 +0400 (MSD) From: Dmitry Samersoff To: "Brian O'Shea" Subject: Re: TCP socket performance? Cc: freebsd-net@FreeBSD.ORG, Dave Liebreich Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 02-Sep-99 Brian O'Shea wrote: > Maybe I'm losing it here, but did you actually get this to compile? > I started making modifications to get through the compiler errors, but > there's just too much wrong here. I'd love to see the compiler that > this successfully built on. > > For instance, this just isn't valid C syntax: > > 74 int fd(socket(AF_INET, SOCK_STREAM, 0)); > 75 if (fd < 0) > 76 { > 77 perror("socket.2"); > 78 return 1; > 79 } > > Where is 'fd' declared? Is it an integer or a function? It's probably C++, g++ compile it whithout problems. But I see no freeze on FreeBSD 2.2.8 - just lots of messages like this: read.read.block: Interrupted system call frump is 1440 --- Dmitry Samersoff, dms@wplus.net, ICQ:3161705 http://devnull.wplus.net * There will come soft rains ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message