From owner-freebsd-hackers Tue Apr 23 6:20:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by hub.freebsd.org (Postfix) with SMTP id AEB3337B400 for ; Tue, 23 Apr 2002 06:20:49 -0700 (PDT) Received: (qmail 25908 invoked by uid 1000); 23 Apr 2002 13:23:16 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Apr 2002 13:23:16 -0000 Date: Tue, 23 Apr 2002 15:23:16 +0200 (CEST) From: Attila Nagy To: Tomas Svensson Cc: hackers@freebsd.org Subject: Re: sendfile() in tftpd? In-Reply-To: <1669828763.20020423135210@gbdev.net> 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 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) Thanks! --------[ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Images/ ]------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message