Résumé
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 file-sharing 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.Contents
Part I: Basics
Chapter 1: Networking Basics
Chapter 2: Processes, Pipes, and Signals
Chapter 3: Berkeley Sockets
Chapter 4: The TCP Protocol
Chapter 5: The IO::Socket API and Simple TCP
Applications
Part II: Developing Clients for Common
Services
Chapter 6: FTP and Telnet
Chapter 7: SMTP: Sending Mail
Chapter 8: POP, IMAP, and NNTP
Chapter 9: HTTP: Talking to the Web
Part III: Developing TCP Client/Server
Systems
Chapter 10: Forking Servers and the Inetd Daemon
Chapter 11: Multithreaded Applications
Chapter 12: Multiplexed Operations
Chapter 13: Nonblocking I/O
Chapter 14: Bulletproofing Servers
Chapter 15: Pre-Forking and Pre-Threading
Chapter 16: The IO::Poll Module
Part IV: Advanced Topics
Chapter 17: TCP Urgent Data
Chapter 18: The UDP Protocol
Chapter 19: UDP Servers
Chapter 20: Broadcasting
Chapter 21: Multicasting
Chapter 22: UNIX Domain Sockets
Appendix A: Additional Code Listings
Appendix B: Perl Error Codes and Special Variables
Appendix C: Internet Reference Tables
Appendix D: References and Other Resources
Index
L'auteur - Lincoln Stein
Lincoln Stein has an M.D. and is a scientist at Cold Spring Harbor Laboratory. When the Web first emerged, he created and maintained one of the earliest Internet sites for distribution of Human Genome Project data and has since become an acknowledged expert in Web, network, and Perl programming. Known for his exceptional ability to synthesize and present complex information, he writes for The Perl Journal and Web Techniques magazines and is the author of four other books.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | Lincoln Stein |
Parution | 15/03/2001 |
Nb. de pages | 754 |
Format | 18,7 x 23,4 |
Couverture | Broché |
Poids | 1138g |
Intérieur | Noir et Blanc |
EAN13 | 9780201615715 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse