From owner-freebsd-stable Thu Mar 29 11:55:18 2001 Delivered-To: freebsd-stable@freebsd.org Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by hub.freebsd.org (Postfix) with SMTP id 2325937B71C for ; Thu, 29 Mar 2001 11:55:15 -0800 (PST) (envelope-from rooneg@isris.pair.com) Received: (qmail 9776 invoked by uid 3130); 29 Mar 2001 19:55:10 -0000 Date: Thu, 29 Mar 2001 14:55:10 -0500 From: Garrett Rooney To: Jim King Cc: Paul Marquis , Nate Williams , Brian Matthews , Allen Landsidel , freebsd-stable@FreeBSD.ORG Subject: Re: Threads vs. blocking sockets Message-ID: <20010329145510.A8106@electricjellyfish.net> References: <15043.35980.669828.971544@nomad.yogotech.com> <00dd01c0b886$d8510250$524c8486@jking> <3AC390FD.6C03BF8F@pobox.com> <00f201c0b889$c4ff4d30$524c8486@jking> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00f201c0b889$c4ff4d30$524c8486@jking>; from jim@jimking.net on Thu, Mar 29, 2001 at 01:52:15PM -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 29, 2001 at 01:52:15PM -0600, Jim King wrote: > None of the documented values for errno as set by send(2) indicate "only > part of the data was sent", at least by my reading. Which value of errno > indicates that I need to resend part of the data? How do I tell how many > bytes were sent? send(2) returns the number of bytes sent. -- garrett rooney Unix was not designed to stop you from rooneg@electricjellyfish.net doing stupid things, because that would http://electricjellyfish.net/ stop you from doing clever things. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message