Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 15:23:16 +0200 (CEST)
From:      Attila Nagy <bra@fsn.hu>
To:        Tomas Svensson <tsn@gbdev.net>
Cc:        hackers@freebsd.org
Subject:   Re: sendfile() in tftpd?
Message-ID:  <Pine.LNX.4.44.0204231521120.24266-100000@scribble.fsn.hu>
In-Reply-To: <1669828763.20020423135210@gbdev.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0204231521120.24266-100000>