From owner-freebsd-questions Tue Mar 27 20:32:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.infowest.com (ns1.infowest.com [204.17.177.10]) by hub.freebsd.org (Postfix) with ESMTP id 5E48237B718; Tue, 27 Mar 2001 20:32:39 -0800 (PST) (envelope-from fbsd@wbs-inc.com) Received: from Presario (unknown [208.186.109.56]) by ns1.infowest.com (Postfix) with SMTP id D33622101D; Tue, 27 Mar 2001 21:32:35 -0700 (MST) Message-ID: <007c01c0b740$064a5aa0$0200fea9@infowest.com> From: "fbsd" To: "Gabriel Ambuehl" , "Kris Kennaway" Cc: "Gabriel Ambuehl" , References: <85286437044.20010327193622@buz.ch><20010327101309.A67416@citusc17.usc.edu> <147290010432.20010327203555@buz.ch> Subject: Re: Re[2]: good book on UNIX TCP/IP socket programming in C++? Date: Tue, 27 Mar 2001 21:31:56 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: Gabriel Ambuehl To: Kris Kennaway Cc: Gabriel Ambuehl ; Sent: Tuesday, March 27, 2001 11:35 AM Subject: Re[2]: good book on UNIX TCP/IP socket programming in C++? > -----BEGIN PGP SIGNED MESSAGE----- > > Hello Kris, > > Tuesday, March 27, 2001, 8:13:09 PM, you wrote: > > As far as I know, there isn't a standardized C++ API for network > > stuff; most C++ programs use the C socket API (the rest use some > kind > > of nonstandardized wrapper library). Consequently, most/all of the > > documentation talks about it from a C PoV. You really can't get > > around learning it - fortunately, it's pretty easy, especially if > you > > know C++. > > > I currently don't know neither on a useable level (well, I'm able to > do very easy patches but that's about it). The motivation for choosing > C++ over C was the OO paradigm which I very much like and since it is > reported to cause serious problems to get accustomed to C++ OO if you > come from a C background, I wanted to avoid learning C in first > place... > If you are familiar with OO programming in some other language you shouldn't have a major problem. The main problem in moving from C to C++ is that C++ does not force OO because it allows basically all of C. So C programmers can keep on doing their old C stuff even when using a C++ compiler - they (we) can avoid going fully OO. > > The best network programming reference is "UNIX Network Programming" > > by W. Richard Stevens. > > Got his "TCP/IP illustrated" here. While everyone said it was very > good, > I found one of the O'Reillies to be better. Bookshop didn't have a > single book on socket programming today (well, except for Java but > that would hardly solve my Python performance problems ;-). > > > Best regards, > Gabriel > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.0.2i > > iQEVAwUBOsDPfsZa2WpymlDxAQE35wgAl12WMMLHYSeLJgo9Q1sKajGyqT2JJ9og > o8Al/BgJY3SvOamR8qK2V4kl34nY6eg864VHM+IP3P06hWUK7W2tyZWMLEsUhVhU > WHE+BckkPPEedmLGsPNsaHUeOidniNmi1A35F7BAlYAU9sL8xnrKVEv9js0ijeaU > /zO1/RxeM9OYTOj5Rhadbm5br86PYJmxM02TZqOyBfCV40NMtz4076UrnVdg1+Xy > FYnSE6fJMjAOik5Fca8gI6jVKfHmI5rjpZ0ASefNPIA2DAFIWdjHtO6hzvp2+9OJ > AG83ghnhqMUvokPizITxxXqEzJx/COTy5wEb2/+epHDVVYwZdy/IRg== > =eTLW > -----END PGP SIGNATURE----- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message