davidk@dsinet (David Karr) (06/20/91)
I am looking at the code for TFTP that is described in "Unix Network Programming", by W. Richard Stevens. Is that TFTP code available on-line somewhere? I could just type it in, but there is quite a bit of code there. I don't have access to anon. FTP, except for possibly a mail server, but I don't know of one that works for me, so sending it to me in mail form would be more convenient. -- Digital Systems International, Inc. David Karr 7730 177th Pl NE dsinet!davidk Redmond, WA 98073-0903 (206) 881-7544 ext. 547
emv@msen.com (Ed Vielmetti) (06/20/91)
> TFTP code from "Unix Network Programming"
Some pointers for you.
Code from MIT that implements TFTP (Copyright 1984 MIT, "permission to
use for any purpose granted provided that the copyright appear and
remain intact", which should make it suitable for use in commercial
products) is available for anonymous ftp from
vax.ftp.com:/pub/pc800/tftpd.shr
It does both a simple client and a simple server.
Code from the 4.3 BSD Reno distribution (Copyright 1983 Regents of the
University of California, similar permissions to the above, suitable
for commercial use) can be had from
wuarchive.wustl.edu:/unix/4.3bsd-reno/usr.bin/tftp/
for the client code.
--
Edward Vielmetti, MSEN Inc. moderator, comp.archives emv@msen.com
"often those with the power to appoint will be on one side of a
controversial issue and find it convenient to use their opponent's
momentary stridency as a pretext to squelch them"
edwin@cs.ruu.nl (Edwin Kremer) (06/20/91)
In <656@elroy> davidk@dsinet (David Karr) writes: |DK> I am looking at the code for TFTP that is described in "Unix Network |DK> Programming", by W. Richard Stevens. Is that TFTP code available |DK> on-line somewhere? Yes, it is. I picked up all the code published in the book by FTP sometime ago (don't remember where), but it is in our archive. Details on how to get it follow... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ We, Computer Science department, Utrecht University, are running an anonymous FTP server on one of our systems. In addition to the FTP service we're also running a mail server, for those of you without direct Internet access. --> How to get 'stevens-book-code' via anonymous FTP: Site: archive.cs.ruu.nl [131.211.80.5] Login: "anonymous" or "ftp" Password: your own email address (you@your_domain) File: UNIX/stevens-book-code.tar.Z --> How to get 'stevens-book-code' via e-mail from our mail-server: NOTE: In the following I have assumed that your mail address is "fred_flintstone@stone.age.edu"; of course you must substitute your own address for this. ** PLEASE USE VALID DOMAIN ADDRESSES. DO NOT USE ADDRESSES ** ** WITH ! and @ MIXED !!!! BITNETTERS USE USER@HOST.BITNET ** Send the following message to mail-server@cs.ruu.nl or the old-fashioned path alternative uunet!mcsun!hp4nl!ruuinf!mail-server begin path fred_flintstone@stone.age.edu (SUBSTITUTE *YOUR* ADDRESS) send UNIX/stevens-book-code.tar.Z end The path command can be deleted if we receive a valid from address in your message. If this is the first time you use our mail server, we suggest you first issue the request: send HELP A complete "ls-lR" listing of the archive is kept in the top-level directory, it will be updated every night. To get it, issue the command: send ls-lR.Z That's all for now. If you encounter problems using the FTP service and/or the mail-server, feel free to drop me a line (by e-mail, please). --[ Edwin ]-- -- Edwin Kremer, systems and network administrator. [NIC-Whois handle: EHK3] Department of Computer Science, Utrecht University, The Netherlands Email: edwin@cs.ruu.nl | UUCP to: ...!uunet!mcsun!hp4nl!ruuinf!edwin