From owner-freebsd-questions Fri Sep 20 07:55:50 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA10993 for questions-outgoing; Fri, 20 Sep 1996 07:55:50 -0700 (PDT) Received: from www.hsc.wvu.edu (www.hsc.wvu.edu [157.182.105.122]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA10967 for ; Fri, 20 Sep 1996 07:55:45 -0700 (PDT) Received: (from jsigmon@localhost) by www.hsc.wvu.edu (8.6.12/8.6.12) id KAA00116; Fri, 20 Sep 1996 10:57:52 -0400 Date: Fri, 20 Sep 1996 10:57:52 -0400 (EDT) From: Jeremy Sigmon To: Greg Lehey cc: FreeBSD Questions Subject: Re: Programming questions. In-Reply-To: <199609200946.LAA18608@allegro.lemis.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > A friend of mine is looking into programming some network applications > > using FreeBSD. His is just learning so he plans to make a FTP > > program and TELNET program. He want to learn the guts and such. > > Anyone know of any good sites with source code he can look through > > and or tutorials? He (and I) have read the TCP/IP books from O'Reilly > > but he is looking for specific examples. > > I was really smart and told him to look in the telnet source in > > usr.bin, but he was looking for more. > > Any suggestions? > > I don't think that anybody without UNIX background will get much out > of the telnet or ftp sources--maybe that's why he didn't like what he > saw in usr.bin. I'd strongly recommend Steven's books, in particular > "UNIX Network Programming", published by Prentice-Hall. O'Reilly > doesn't have much in the way of network programming books. > He found a few sample programs out there, but they were for Linux. I tried to port them ,but the stuctures in the /usr/include/netinet/ directory are somewhat different than what the linux programs expect. (Slight understatement... And I hope I pointed him to the right dir because the linux programs look for tcp.h in /linux) I suggested the books to him... thanks for the help.