From owner-freebsd-hackers Thu Nov 14 11:47:05 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA29756 for hackers-outgoing; Thu, 14 Nov 1996 11:47:05 -0800 (PST) Received: from quagmire.ki.net (quagmire.ki.net [205.150.102.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA29687 for ; Thu, 14 Nov 1996 11:44:42 -0800 (PST) Received: from localhost (scrappy@localhost) by quagmire.ki.net (8.8.2/8.7.5) with SMTP id OAA06692; Thu, 14 Nov 1996 14:44:03 -0500 (EST) Date: Thu, 14 Nov 1996 14:44:03 -0500 (EST) From: "Marc G. Fournier" To: John Polstra cc: hackers@freebsd.org Subject: Re: Sockets question... In-Reply-To: <199611141747.JAA08966@austin.polstra.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 14 Nov 1996, John Polstra wrote: > > Basically, the server opens up a binary file and sends the data > > to the client. The client is connecting to the server no problem, but I'm > > don't seem to be able to send >79 bytes across the socket > > What happens? Does it hang? Is data lost? It should work fine. At 1024, data seems to be lost. I send 1023 bytes across, and receive 4...send 1023, receive 907...I send across 100 packets, receive 2... As soon as I go to 512 or 80 byte writes, I can pound at it repeatedly and get the complete image across every time, no errors. Marc G. Fournier scrappy@ki.net Systems Administrator @ ki.net scrappy@freebsd.org