Advanced Search
Start Your Free Trial

Overview

Other Readers Also Read...
Perl for System Administration

Perl for System Administration
by David N. Blank-Edelman

Programming Web Services with Perl

Programming Web Services with Perl
by Randy J. Ray; Pavel Kulchenko

Programming Perl, 3rd Edition

Programming Perl, 3rd Edition
by Larry Wall; Tom Christiansen; Jon Orwant

Perl Cookbook, 2nd Edition

Perl Cookbook, 2nd Edition
by Tom Christiansen; Nat Torkington

Perl Hacks

Perl Hacks
by chromatic ; Damian Conway; Curtis Poe

Top Sellers in this Category

"This is a superb book. Another splendid book from Lincoln, whose mastery and lucid exposition make this a must-have for the serious Perl programmer."
--Jon Orwant, Chief Technology Officer, O'Reilly & Associates
Founder of The Perl Journal, author of Mastering Algorithms with Perl, (O'Reilly & Associates)
and co-author of Programming Perl, Third Edition (O'Reilly & Associates)

Network Programming with Perl is a comprehensive, example-rich guide to creating network-based applications using the Perl programming language. Among its many capabilities, modern Perl provides a straightforward and powerful interface to TCP/IP, and this book shows you how to leverage these capabilities to create robust, maintainable, and efficient custom client/server applications.

The book quickly moves beyond the basics to focus on high-level, application programming concepts, tools, and techniques. Readers will find a review of basic networking concepts and Perl fundamentals, including Perl's I/O functions, process model, and object-oriented extensions. In addition, the book examines a collection of the best third-party modules in the Comprehensive Perl Archive Network, including existing network protocols for e-mail, news, and the Web.

The core of the book focuses on methods and alternatives for designing TCP-based client/server systems and more advanced techniques for specialized applications. Specific topics covered include:

  • The Berkeley Sockets API

  • The TCP protocol and the IO::Socket API

  • FTP filesharing service

  • The Net::Telnet module for adapting clients to interactive network services

  • SMTP, including how to create and send e-mails with multimedia attachments

  • POP, IMAP, and NNTP for receiving and processing e-mail

  • HTTP and the LWP module for communicating with Web servers

  • Forking servers and the UNIX and Windows inetd daemons

  • Perl's experimental multithreaded API

  • Multiplexed operations and nonblocking I/O

  • Bulletproofing servers

  • TCP urgent data

  • UDP protocol and servers

  • Broadcasting and multicasting

  • Interprocess communication with UNIX-domain sockets

Useful, working programs demonstrate ideas and techniques in action, including a real-time chat and messaging system, a program for processing e-mail containing MIME attachments, a program for mirroring an FTP site, and a Web robot.

Network Programming with Perl focuses on TCP/IP rather than just the common Web protocols. Modeled after the critically acclaimed TCP/IP Illustrated by W. Richard Stevens, this book achieves a level of detail far superior to most. It is an essential resource for network administrators and Perl programmers who are creating network applications.



0201615711B04062001

Amazon.com® Reader Reviews (Ranked by Helpfulness)

Average Amazon.com® Rating: 5.0 out of 5 rating Based on 13 Ratings

Everything you need to know on Network Programming - 2002-01-30
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book has been in my wish list for pretty long time, and before I actually buy it decided to check it out of my school's library. Enjoyment started at the first chapters of the book that I read in the library's caffeteria. The book definitely covers all the aspects of the Network Progamming, not only with Perl, but in general as well.

In the first chapters of the book, Lincoln Stein makes good use of such OO modules as IO::File and IO::Socket to demostrate that difference between local file operations and remote network programming isn't that much different at all ( at least in Perl ).

Chapter 2 shows you several applications that are built on pipes. The best thing about the chapter was the signals part, where L. Stein shows examples, catching all sorts of signals that your progam receives and reacts accordingly. One example was reacting to pressing of CTRL+C sequence of keys to terminate the progam.

I would call Chapter 3 the heart of the book, since it goes over Berkeley Sockets, the base for Network progamming in most systems, no matter what progamming language you tend to prefer. It also explains thoroughly Sockets Addressings, Network naming conventions, protocols, services and a lot more. This chapter, together with the Chapter 4 alone are worth the whole price of the book, I believe. The chapter in the end goes over some common netwook analysis tools, such as "nslookup", "ping", so on and so forth.

Chapter 4 tells you all you need about TCP Protocol. Shows several examples as well. Goes over Adjusting Socket options, and their uses.

Chapter 5 is not anything newer supposing you've been following all the pervious chapters. Untill this chapter, L. Stein demonstrates the coding using much low level Socket API. here Lincoln starts using IO::Socket's Object Oriented Interface for its handy functionalities that enable writing Networking applications more relieving.

Chapters 6, 7, 8 and 9 takes you through writing several commong network clients such as SMTP/mailing clients, Telnet, FTP clients. Also provides their complete source codes in case you just feel likek copying them. Chapter 9 gets into the most fun part: LWP and HTML/XML Parsing. Spends good 50 pages on those. Very exciting indeed!

The rest of the book (another half) is dedicated for writing Server applications, which I haven't read. I am sure the rest is as exciting as it's been up to this point. But no matter what, I am greatefull to the book for such an exciting and informative coverage of the topics. It's worth every penny that you spend on it. Buy it!

Excellent - 2003-08-10
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is excellent. This is one of very few books that the author really takes time, has a good plan to write a book and have good understanding of the subject.

I read many computer books that are just repetitive so it can make the books thick enough to look like a 'good book' (May be this is what US raaders like). I try my best to avoid those books. Those books do not say much in hundreds of pages.

But this book is not that kind of book. Every pages are worth to read. It is quite easy to follow. (I do know a bit of TCP/IP from reading other books before I read this book.) E.g. Stevens TCP/IP books. Unfortunately he died and he won't be able to update those great books.

Some authors are not professional, they just copy here and there. Then they put everything together. Those are terrible books to read. Those terrible books explain some simple concept again and again and take up hundreds of pages that can be done in half of volume. It is not just wasting the readers time (time is money) but also wasting the resource (trees)! Even most college textbooks are that way. Sometimes it is even worst since they know you won't haave much choices!

I seldom to give 5 stars. This book does deserve 5 stars.

You will enjoy this one if you like networking.

One of my favorite Perl books. - 2003-06-14
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is one of my favorite Perl books. It really serves what it says it will. It covers a great amount of Perl coding, but like the title says, goes into a lot of networking code, functions and so on. For Perl network programming, you really should have and use this book.

Excellent book - 2008-10-25
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
If you write a lot of network utilities in Perl this book is a must-have.

It's very well-written, with lots of sample code and a detailed explanation of how it all works. More importantly, Stein goes into great detail on the concepts the network programmer needs to understand, and why things need to be done a certain way. There is really a lot of valuable information here, and it's all quite well-organized and readable.

A very good computer book.

The nirvana - 2002-08-16
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Just to say this is a big introduction (from starts to experts) to the network stuff through the magnific language that is perl.
Do you want to be a hacker? do you know enought of perl? Do you feel the only you need to be a hacker is some specific book that prepares to it? this is the one, BUY IT, at the end you will think this is one of the best books you have already read, i promise you.

(if you already know the net, it explains how to do the stuff in perl in an exciting way!)

Browse Similar Topics

Top Level Categories:
Programming

Sub-Categories:
Programming > Perl

Some information on this page was provided using data from Amazon.com®. View at Amazon >


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2009 Safari Books Online. All rights reserved.