I've got two books, both of which I can recommend. The first is from my pre-Python days: _Network Programming with Perl_, but Lincoln Stein, Addison-Wesley.
But because I'm using Python now, I can also recommend _Web Programming with Python_ by Steve Holden, New Riders. It isn't specifically about TCP/IP and socket programming, but it has some very good background information and lots of good code. I am a Python neophyte, and I appreciate this book's approach of showing code for doing things the hard way, then an easier way, and sometimes the easiest way. Each approach teaches me something. Anyway, sockets are only part of the Holden book, but it's excellent information, worth the price of admission on its own. But it goes on with database programming, web programming, etc., at no extra charge. Cheers! -- David Hancock | [EMAIL PROTECTED] | 410-266-4384 -----Original Message----- From: Tavis Rudd [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 4:07 PM To: Terrel Shumway Cc: Love, Jay; [EMAIL PROTECTED] Subject: Re: [Webware-discuss] listening on multiple IP addresses .. was Re: [Webware-devel] opinions sought So simple!! Thanks. This should definitely make it into the WebKit docs. I think I need a good book on tcp/ip socket programming. Any suggestions? On Wednesday 13 March 2002 11:48, Terrel Shumway wrote: > On Wed, 2002-03-13 at 12:45, Tavis Rudd wrote: > > Jay, > > I think Apache is doing something different. When I run this code ## > > import time > > import socket > > s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) > > s.bind(('localhost',8082)) > > s.listen(1024) > > s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) > > s2.bind(('10.0.0.1',8082)) > > s2.listen(1024) > > time.sleep(35) > > ## > > try this: > ------------- > import socket > > ss =socket.socket(socket.AF_INET,socket.SOCK_STREAM) > ss.bind(("",8082)) > ss.listen(1024) > ------------- _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
