
At a Glance
Format
PDF
eText
$52.79
or 4 interest-free payments of $13.20 with
orInstant online reading in your Booktopia eTextbook Library *
Why choose an eTextbook?
Instant Access *
Purchase and read your book immediately
Read Aloud
Listen and follow along as Bookshelf reads to you
Study Tools
Built-in study tools like highlights and more
* eTextbooks are not downloadable to your eReader or an app and can be accessed via web browsers only. You must be connected to the internet and have no technical issues with your device or browser that could prevent the eTextbook from operating.
It is no longer enough for today's software engineers to be able to program the computer and debug programs - the modern programmer needs to know how to program the network and debug communications. This book shows you how, using Perl.
Originally created as a tool for System Administrators, the Perl Programming languauge has matured into a powerful, yet easy-to-use, general-purpose programming language. Widely used on the Internet, Perl is the programming language of choice when it comes to adding dynamic content to websites using the Common Gateway Interface (CGI). Its strengths - simplicity, power and adaptability - make it an excellent vehicle with which to study computer networking and to program computer networks in general.
In Programming the Network with Perl, Paul Barry applies Perl to the study of tradiitonal computer networking topics. After an introductory tutorial to the Perl programming language appropriate for the non-Perl programmer, five key computer networking topics are examined from the perspective of the software engineer using Perl.
Snooping details the creation of a successively more functional set of Ethernet Network Analaysers and cumulates in the development of The Network Debugger, a tool for monitoring the traffic generated by both standard and custom-built networked applications. Sockets details how to use Perl to create custom networked applications by programming the TCP/IP transport protocols (TCP and UDP), using the Client/Server Model and the standard Berkeley Socket API. Protocols details just how easy it is to program the HTTP (web), SMTP (e-mail), NNTP (news) and TELNET (remote login) protocols with Perl. HTML parsing is also described. Management uses Perl to program the Simple Network Management Protocol (SNMP), the cornerstone network management technology on the modern Internet.
In Programming the Network with Perl, Paul Barry applies Perl to the study of tradiitonal computer networking topics. After an introductory tutorial to the Perl programming language appropriate for the non-Perl programmer, five key computer networking topics are examined from the perspective of the software engineer using Perl.
Snooping details the creation of a successively more functional set of Ethernet Network Analaysers and cumulates in the development of The Network Debugger, a tool for monitoring the traffic generated by both standard and custom-built networked applications. Sockets details how to use Perl to create custom networked applications by programming the TCP/IP transport protocols (TCP and UDP), using the Client/Server Model and the standard Berkeley Socket API. Protocols details just how easy it is to program the HTTP (web), SMTP (e-mail), NNTP (news) and TELNET (remote login) protocols with Perl. HTML parsing is also described. Management uses Perl to program the Simple Network Management Protocol (SNMP), the cornerstone network management technology on the modern Internet.
on
Desktop
Tablet
Mobile
1. Meet Perl
Perl's Default Behaviour
Using Variables in Perl
Controlling Flow
Boolean in Perl
Perl Operators
Subroutines
Perl I/O
Packages, Modules and Objects
More Perl
Where to From Here?
Print Resources
Web Resources
2. Snooping
Thank You, Tim Potter
Preparing to Snoop
Building Low-Level Snooping Tools
Snooping IP Datagrams
Transport Snoopers
The Network Debugger
Where to From Here?
Print Resources
Web Resources
3. Sockets
Clients and Servers
Transport Services
Introducing the Perl Socket API
Socket Support Subroutines
Simple UDP Clients and Servers
Genericity and Robustness
UDP is Unreliable
Sending and Receiving with UDP
Dealing with Deadlock
TCP Clients and Servers
A Common TCP Gotcha
More TCP Socket Communication
The Concurrent Syntax Checker
Object-Oriented Sockets
Where to From Here?
Print Resources
Web Resources
4. Protocols
Gotcha!
Working with the Web
The World's Worst Web Browser
HTTP Status Codes
It's the Gisle and Graham Show!
The Library for WWW Access in Perl
The LWPwwwb Program
Doing More with LWPwwwb
Building a Custom Web Server
The libnet Library
Email Enabling simplehttpd
Other Networking Add-on Modules
Where to From Here?
Print Resources
Web Resources
5. Management
Simple Management with ICMP
Doing the Ping Thing
Doing the Net: Ping Thing
Tracing Routes
Not So Simple Management with SNMP
The SNMP Management Framework
Managed Data
The SNMP Protocol
The Net: SNMP Module
Working with Net: SNMP
What's Up?
Setting MIB-II Data
IP Router Mapping
Where to From Here?
Print Resources
Web Resources
6. Mobile Agents
What is a Mobile Agent?
Mobile-Agent Examples
Mobile-Agent Advantages/Disavantages
Perl Agents
The Agent.pm Module
Ooooh, Objects!
The Default Mobile Agent
A Launching Mobile-Agent Environment
A One-Shot Location
Relocating to Multiple Locations
The Mobile-Agent multiwho
The Mobile-Agent ipdetermine
The Cloning Mobile-Agent ipdetermine
Other Perl Agent Examples
Where to From Here?
Print Resources
Web Resources
Appendices
Index
Perl's Default Behaviour
Using Variables in Perl
Controlling Flow
Boolean in Perl
Perl Operators
Subroutines
Perl I/O
Packages, Modules and Objects
More Perl
Where to From Here?
Print Resources
Web Resources
2. Snooping
Thank You, Tim Potter
Preparing to Snoop
Building Low-Level Snooping Tools
Snooping IP Datagrams
Transport Snoopers
The Network Debugger
Where to From Here?
Print Resources
Web Resources
3. Sockets
Clients and Servers
Transport Services
Introducing the Perl Socket API
Socket Support Subroutines
Simple UDP Clients and Servers
Genericity and Robustness
UDP is Unreliable
Sending and Receiving with UDP
Dealing with Deadlock
TCP Clients and Servers
A Common TCP Gotcha
More TCP Socket Communication
The Concurrent Syntax Checker
Object-Oriented Sockets
Where to From Here?
Print Resources
Web Resources
4. Protocols
Gotcha!
Working with the Web
The World's Worst Web Browser
HTTP Status Codes
It's the Gisle and Graham Show!
The Library for WWW Access in Perl
The LWPwwwb Program
Doing More with LWPwwwb
Building a Custom Web Server
The libnet Library
Email Enabling simplehttpd
Other Networking Add-on Modules
Where to From Here?
Print Resources
Web Resources
5. Management
Simple Management with ICMP
Doing the Ping Thing
Doing the Net: Ping Thing
Tracing Routes
Not So Simple Management with SNMP
The SNMP Management Framework
Managed Data
The SNMP Protocol
The Net: SNMP Module
Working with Net: SNMP
What's Up?
Setting MIB-II Data
IP Router Mapping
Where to From Here?
Print Resources
Web Resources
6. Mobile Agents
What is a Mobile Agent?
Mobile-Agent Examples
Mobile-Agent Advantages/Disavantages
Perl Agents
The Agent.pm Module
Ooooh, Objects!
The Default Mobile Agent
A Launching Mobile-Agent Environment
A One-Shot Location
Relocating to Multiple Locations
The Mobile-Agent multiwho
The Mobile-Agent ipdetermine
The Cloning Mobile-Agent ipdetermine
Other Perl Agent Examples
Where to From Here?
Print Resources
Web Resources
Appendices
Index
ISBN: 9780470849415
ISBN-10: 047084941X
Published: 10th January 2003
Format: PDF
Language: English
Publisher: Wiley Professional Development (P&T)
Edition Number: 1
























