From owner-freebsd-hackers Tue Apr 23 9:35:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.aus.com (adsl-64-175-247-99.dsl.sntc01.pacbell.net [64.175.247.99]) by hub.freebsd.org (Postfix) with ESMTP id 88E3037B41B for ; Tue, 23 Apr 2002 09:35:43 -0700 (PDT) Received: from localhost (rsharpe@localhost) by ns.aus.com (8.11.6/8.11.6) with ESMTP id g3NHhQ002664; Wed, 24 Apr 2002 03:13:26 +0930 Date: Wed, 24 Apr 2002 03:13:26 +0930 (CST) From: Richard Sharpe To: Attila Nagy Cc: Tomas Svensson , Subject: Re: sendfile() in tftpd? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 23 Apr 2002, Attila Nagy wrote: > Hello, > > > No, sendfile() is only for TCP connections, TFTP is using UDP. If you > > want performance, use something else. > It's even in the manpage: > Sendfile() sends a regular file specified by descriptor fd out a stream > socket specified by descriptor s. > > Silly me. BTW, I can't use anything else. Are there any alternatives to > TFTP for booting machines off the network? (using standard, PC components) Multicast! BootIX (nee InCom) have support for this in their BootROMS. it might not be hard to hack into Etherboot et al. Regards ----- Richard Sharpe, rsharpe@ns.aus.com, rsharpe@samba.org, sharpe@ethereal.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message