O'Reilly Open Source Convention
oreilly.comO'Reilly Network
Conferences International Safari: Books Online

Arrow Home
Arrow Registration
Arrow Speakers
Arrow Keynotes
Arrow Tutorials
Arrow Sessions
Arrow At-a-Glance
Arrow BOFs
Arrow Events
Arrow Exhibitors
Arrow Sponsors
Arrow Hotel/Travel
Arrow Venue Map
Arrow See & Do
Arrow Press
Arrow Mail List
Kids World

From the Frontiers of Research to the Heart of the Enterprise
O'Reilly Open Source Convention
Sheraton San Diego Hotel and Marina
July 22-26, 2002 -- San Diego, CA



Network Programming With Perl
Lincoln D. Stein, Cold Spring Harbor Laboratory

Track: Perl
Date: Monday, July 22
Time: 8:45am - 12:15pm
Location: Grande Ballroom B

Intended Audience:

Novice to intermediate Perl programmers who understand the basics of input and output, loops, regular expression matches, and the array and hash data types. A working familiarity with Perl5's object-oriented syntax is also recommended. You should understand the basics of networking, including the concepts of IP addresses, DNS names, and servers.


This tutorial will show you how to write robust client/server applications in Perl. We will begin with simple TCP-based clients that you can use to talk such standard services as FTP, Web, Mail and Net News. We will then turn to writing client/server applications from scratch, using as our examples applications that range from toys (a TCP-based psychotherapist server) to full-scale applications (an Internet chat system based on multicasting).

Topics covered include:

  • Perl's low-level socket interface.
  • The high-level IO::Socket, IO::Select and IO::Poll modules.
  • Forward and reverse name resolution.
  • The Net::FTP, Net::Telnet, Net::SMTP, LWP and MIME modules
  • Choosing between TCP and UDP services.
  • Choosing the right server architecture:
    • fork-and-select
    • multiplexed
    • multithreaded
    • preforked
    • Advanced networking topics
    • broadcasting
    • multicasting
    • non-blocking I/O
After completing this tutorial, participants will understand how to build sophisticated client/server applications without leaving the power and convenience of the Perl programming language.

oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly Media, Inc.