Jumat, 18 Maret 2011

[O411.Ebook] PDF Download Network Programming with Perl, by Lincoln D. Stein

PDF Download Network Programming with Perl, by Lincoln D. Stein

Discover a lot more experiences and understanding by reading the book entitled Network Programming With Perl, By Lincoln D. Stein This is a book that you are searching for, right? That's right. You have pertained to the appropriate website, then. We always provide you Network Programming With Perl, By Lincoln D. Stein as well as the most favourite e-books worldwide to download and install as well as delighted in reading. You might not overlook that seeing this collection is a function or even by unexpected.

Network Programming with Perl, by Lincoln D. Stein

Network Programming with Perl, by Lincoln D. Stein



Network Programming with Perl, by Lincoln D. Stein

PDF Download Network Programming with Perl, by Lincoln D. Stein

Why must select the problem one if there is simple? Get the profit by purchasing guide Network Programming With Perl, By Lincoln D. Stein below. You will obtain various way to make a deal as well as obtain the book Network Programming With Perl, By Lincoln D. Stein As known, nowadays. Soft data of guides Network Programming With Perl, By Lincoln D. Stein become incredibly popular amongst the visitors. Are you one of them? And right here, we are offering you the new compilation of ours, the Network Programming With Perl, By Lincoln D. Stein.

To get over the issue, we now offer you the innovation to obtain the book Network Programming With Perl, By Lincoln D. Stein not in a thick printed documents. Yeah, checking out Network Programming With Perl, By Lincoln D. Stein by on the internet or obtaining the soft-file simply to check out can be one of the methods to do. You might not feel that reviewing a book Network Programming With Perl, By Lincoln D. Stein will serve for you. However, in some terms, May individuals effective are those which have reading behavior, included this type of this Network Programming With Perl, By Lincoln D. Stein

By soft documents of guide Network Programming With Perl, By Lincoln D. Stein to read, you might not need to bring the thick prints almost everywhere you go. At any time you have willing to read Network Programming With Perl, By Lincoln D. Stein, you could open your gadget to review this book Network Programming With Perl, By Lincoln D. Stein in soft documents system. So very easy and also fast! Reading the soft file e-book Network Programming With Perl, By Lincoln D. Stein will offer you simple method to check out. It can also be much faster considering that you could review your e-book Network Programming With Perl, By Lincoln D. Stein almost everywhere you really want. This online Network Programming With Perl, By Lincoln D. Stein can be a referred book that you can take pleasure in the remedy of life.

Because publication Network Programming With Perl, By Lincoln D. Stein has excellent advantages to check out, many individuals now expand to have reading behavior. Supported by the developed modern technology, nowadays, it is simple to purchase guide Network Programming With Perl, By Lincoln D. Stein Also guide is not existed yet in the market, you to browse for in this site. As what you could discover of this Network Programming With Perl, By Lincoln D. Stein It will truly relieve you to be the initial one reading this publication Network Programming With Perl, By Lincoln D. Stein and also obtain the perks.

Network Programming with Perl, by Lincoln D. Stein

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, OReilly & Associates Founder of The Perl Journal, author of Mastering Algorithms with Perl, (OReilly & Associates)and co-author of Programming Perl, Third Edition (OReilly & 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 Perls 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 f

  • Sales Rank: #828689 in Books
  • Published on: 2001-01-06
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.00" h x 1.70" w x 7.30" l, 2.80 pounds
  • Binding: Paperback
  • 784 pages

Amazon.com Review
"Network programming"--the term had a distinct meaning once, but now it begs the question, "Is there another kind?" That's why Lincoln Stein's Network Programming with Perl is valuable. It shows how one of the world's top Perl authorities brings the language to bear on problems that require communication among computers, showing that you may not have to resort to Java as soon as you may have thought to meet a networking requirement. What's more, Stein doesn't assume you have a lot of Perl expertise. An intermediate-level familiarity with the language should enable you to understand the examples in the book and follow its classic code-and-commentary structure.

Stein presents full, working scripts, calling attention to particularly interesting lines and passages by repeating them in the text. If a program makes use of an unusual or previously undiscussed function (and lots of them do, because one of the author's missions is to introduce the contents of specialized libraries), its syntax and legal parameters will be documented and a concise statement of its behavior provided. The example programs are the best part of this book, though. As the problems get more complicated, it's fun to watch Stein solve them with efficient, attractive code. Unless you're a really experienced professional, you'll be able to study the examples in this book and learn a lot. --David Wall

Topics covered:

  • Perl function libraries and techniques that allow programs to interact with resources over a network
  • IO::Socket library
  • Net::FTP library
  • Net::Telnet library
  • Net::SMTP library
  • Chat problems
  • Internet Message Access Protocol (IMAP) issues
  • Markup-language parsing
  • Internet Protocol (IP) broadcasting and multicasting

From the Inside Flap
The network is everywhere. At the office, machines are wired together into local area networks, and the local networks are interconnected via the Internet. At home, personal computers are either intermittently connected to the Internet, or, increasingly, "always-on" cable and DSL modems. New wireless technologies, such as Bluetooth, promise to vastly expand the network realm, embracing everything from cell phones to kitchen appliances. Such an environment creates tremendous opportunities for innovation. Whole new classes of applications are now predicated on the availability of high-bandwidth, always-on connectivity. Interactive games allow players from around the globe to compete on virtual playing fields and the instant messaging protocols let them broadcast news of their triumphs to their friends. New peer-to-peer systems, such as Napster and Gnutella, allow people to directly exchange MP3 audio files and other types of digital content. The SETI@Home project takes advantage of idle time on the millions of personal computers around the world to search for signs of extraterrestrial life in a vast collection of cosmic noise. The ubiquity of the network allows for more earthbound applications as well. With the right knowledge, you can write a robot that will fetch and summarize prices from competitors' Web sites; a script to page you when a certain stock drops below a specified level; a program to generate daily management reports and send them off via e-mail; a server that centralizes some number-crunching task on a single high-powered machine, or alternatively distributes that task among the multiple nodes of a computer cluster. Whether you are searching for the best price on a futon or for life in a distant galaxy, you'll need to understand how network applications work in order to take full advantage of these opportunities. You'll need a working understanding of the TCP/IP protocol--the common denominator for all Internet-based communications and the most common protocol in use in local area networks as well. You'll need to know how to connect to a remote program, to exchange data with that program, and what to do when something goes wrong. To work with existing applications, such as Web servers, you'll have to understand how the application-level protocols are built on top of TCP/IP, and how to deal with common data exchange formats such as XML and MIME. This book uses the Perl programming language to illustrate how to design and implement practical network applications. Perl is an ideal language for network programming for a number of reasons. First, like the rest of the language, Perl's networking facilities were designed to make the easy things easy. It takes just two lines of code to open a network connection to a server somewhere on the Internet and send it a message. A fully capable Web server can be written in a few dozen lines of code. Second, Perl's open architecture has encouraged many talented programmers to contribute to an ever-expanding library of useful third-party modules. Many of these modules provide powerful interfaces to common network applications. For example, after loading the LWP::Simple module, a single function call allows you to fetch the contents of a remote Web page and store it in a variable. Other third-party modules provide intuitive interfaces to e-mail, FTP, net news, and a variety of network databases. Perl also provides impressive portability. Most of the applications developed in this book will run without modification on UNIX machines, Windows boxes, Macintoshes, VMS systems, and OS/2. However, the most compelling reason to choose Perl for network application development is that it allows you to fully exploit the power of TCP/IP. Perl provides you with full access to the same low-level networking calls that are available to C programs and other natively compiled languages. You can create multicast applications, implement multiplexed servers, and design peer-to-peer systems. Using Perl, you can rapidly prototype new networking applications and develop interfaces to existing ones. Should you ever need to write a networking application in C or Java, you'll be delighted to discover how much of the Perl API carries over into these languages.

This Book's Audience Network Programming with Perl is written for novice and intermediate Perl programmers. I assume you know the basics of Perl programming, including how to write loops, how to construct if-else statements, how to write regular expression pattern matches, the concept of the automatic $_ variable, and the basics of arrays and hashes. You should have access to a Perl interpreter and some experience writing, running, and debugging scripts. Just as important, you should have access to a computer that is connected both to a local area network and to the Internet! Although the recipes in Chapter 10 on setting Perl-based network servers to start automatically when a machine is booted do require superuser (administrative) access, none of the other examples require privileged access to a machine.

This book does take advantage of the object-oriented features in Perl version 5 and higher, but most chapters do not assume a deep knowledge of this system. Chapter 1 addresses all the details you will need as a casual user of Perl objects.

This book is a thorough review of the TCP/IP protocol at the lowest level, or a guide to installing and configuring network hubs, routers, and name servers. Many good books on the mechanics of the TCP/IP protocol and network administration are listed in the references in Appendix D. Roadmap This book is organized into four main parts, Basics, Developing Cients for Common Services, Developing TCP Client/Server Systems, and Advanced Topics. Part I, Basics, introduces the fundamentals of TCP/IP network communications.

Chapters 1 and 2, Networking Basics and Processes, Pipes, and Signals, review Perl's functions and variables for input and output, discuss the exceptions that can occur during I/O operations, and use the piped filehandle as the basis for introducing sockets. These chapters also review Perl's process model, including signals and forking, and introduce Perl's object-oriented extensions. Chapter 3, Introduction to Berkeley Sockets, discusses the basics of Internet networking and describes IP addresses, network ports, and the principles of client/server applications. It then turns to the Berkeley Socket API, which provides the programmer's interface to TCP/IP. Chapters 4 and 5, The TCP Protocol and The IO::Socket API and Simple TCP Applications, show the basics of TCP, the networking protocol that provides reliable stream-oriented communications. These chapters demonstrate how to create client and server applications and then introduce examples that show the power of technique as well as some common roadblocks.

Part II, Developing Clients for Common Services, looks at a collection of the best third-party modules that developers have contributed to the Comprehensive Perl Archive Network (CPAN).

Chapter 6, FTP and Telnet, introduces modules that provide access to the FTP file-sharing service, as well as to the flexible Net::Telnet module which allows you to create clients to access all sorts of network services. E-mail is still the dominant application on the Internet, and Chapter 7, SMTP: Sending Mail, introduces half of the equation. This chapter shows you how to create e-mail messages on the fly, including binary attachments, and send them to their destinations. Chapter 8, POP, IMAP, and NNTP: Processing Mail and Netnews, covers the other half of e-mail, explaining modules that make it possible to receive mail from mail drop systems and process their contents, including binary attachments. Chapter 9, Web Clients, discusses the LWP module, which provides everything you need to talk to Web servers, download and process HTML documents, and parse XML.

Part III, Developing TCP Client/Server Systems--the longest part of the book--discusses the alternatives for designing TCP-based client/server systems. The major example used in these chapters is an interactive psychotherapist server, based on Joseph Weizenbaum's classic Eliza program.

Chapter 10, Forking Servers and the inetd Daemon, covers the common type of TCP server that forks a new process to handle each incoming connection. This chapter also covers the UNIX and Windows inetd daemons, which allow programs not specifically designed for networking to act as servers. Chapter 11, Multithreaded Applications, explains Perl's experimental multithreaded API, and shows how it can greatly simplify the design of TCP clients and servers. Chapters 12 and 13, Multiplexed Operations and Nonblocking I/O, discuss the select() call, which enables an application to process multiple I/O streams concurrently without using multiprocessing or multithreading. Chapter 14, Bulletproofing Servers, discusses techniques for enhancing the reliability and maintainability of network servers. Among the topics are logging, signal handling, and exceptions, as well as the important topic of network security. Chapter 15, Preforking and Prethreading, presents the forki

From the Back Cover

"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

Most helpful customer reviews

58 of 58 people found the following review helpful.
Extraordinarily useful book
By Doralyn J. Merced
This book, replete with code, is one of the most useful resources I've come across. There aren't just code snippets here -- there are complete and useful programs, with explanations for each line of code. These line-by-line explanations not only make the code crystal clear, but it demonstrates how you can adapt the code to suit your specific need.
It discusses the esoteric topics such as threading, sockets, parsing binary email attachments, and more in a very understandable and open fashion. It also discusses existing modules and their "hidden" usefulness (Hint: Net::Telnet can be used to SSH). The author is to be commended on his ability to make these cryptic topics understood.
When I first flipped through Network Programming with Perl, I immediately found the solution to a problem I was having for the previous few days. A few more moments, I saw solutions to problems that associates were having. It's not very often a single book can do that without a thorough reading, but this one came through brilliantly.
I strongly recommend this book to anyone serious about taking their Perl expertise to the next level.

49 of 51 people found the following review helpful.
Great coverage of network programming if you use perl
By Megan Squire
This book has excellent coverage of forking, multithreading, multiplexing, and non-blocking IO. Good coverage of this material is hard to find. Most books just concentrate on specific protocols such as POP, IMAP, FTP, SMTP, etc. This book also covers that material, but unlike other books, this one will actually start you off understanding sockets, pipes and signals rather than just showing you how to to use a bunch of libs. There is plenty of example source code here too.

9 of 9 people found the following review helpful.
Everything you need to know on Network Programming
By A Customer
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!

See all 17 customer reviews...

Network Programming with Perl, by Lincoln D. Stein PDF
Network Programming with Perl, by Lincoln D. Stein EPub
Network Programming with Perl, by Lincoln D. Stein Doc
Network Programming with Perl, by Lincoln D. Stein iBooks
Network Programming with Perl, by Lincoln D. Stein rtf
Network Programming with Perl, by Lincoln D. Stein Mobipocket
Network Programming with Perl, by Lincoln D. Stein Kindle

Network Programming with Perl, by Lincoln D. Stein PDF

Network Programming with Perl, by Lincoln D. Stein PDF

Network Programming with Perl, by Lincoln D. Stein PDF
Network Programming with Perl, by Lincoln D. Stein PDF

Tidak ada komentar:

Posting Komentar