Programming the Network with Perl by Paul Barry

By Paul Barry

It truly is now not adequate for contemporary software program engineers so one can software the pc and debug courses - the trendy programmer must know the way to application the community and debug communications. This e-book exhibits you ways, utilizing Perl.

initially created as a device for process directors, the Perl Programming languauge has matured right into a robust, but easy-to-use, general-purpose programming language. everyday on the web, Perl is the programming language of selection by way of including dynamic content material to web pages utilizing the typical Gateway Interface (CGI). Its strengths - simplicity, strength and suppleness - make it a very good motor vehicle with which to check desktop networking and to software desktop networks mostly.

In Programming the community with Perl, Paul Barry applies Perl to the learn of tradiitonal desktop networking subject matters. After an introductory instructional to the Perl programming language applicable for the non-Perl programmer, 5 key desktop networking subject matters are tested from the viewpoint of the software program engineer utilizing Perl.

  • Snooping information the production of a successively extra practical set of Ethernet community Analaysers and cumulates within the improvement of The community Debugger, a device for tracking the site visitors generated by way of either common and custom-built networked purposes.
  • Sockets information how you can use Perl to create customized networked functions by means of programming the TCP/IP shipping protocols (TCP and UDP), utilizing the Client/Server version and the normal Berkeley Socket API.
  • Protocols info simply how effortless it truly is to application the HTTP (web), SMTP (e-mail), NNTP (news) and TELNET (remote login) protocols with Perl. HTML parsing is additionally defined.
  • administration makes use of Perl to software the straightforward community administration Protocol (SNMP), the cornerstone community administration know-how at the glossy web.
  • cellular brokers is a presentation of 1 of the applied sciences that may be additional to Perl to supply for the advance of customized networked functions that could shipping themselves from community gadget to community equipment whereas executing.

every one bankruptcy concludes with a collection of Print and net assets, in addition to urged routines to help extra learn via the reader.

The linked web site offers Perl hyperlinks, downloadable resource code, presentation fabrics (in PDF format), and directions for becoming a member of the pertnetbook dialogue mailing record.

Show description

Read Online or Download Programming the Network with Perl PDF

Best protocols & apis books

Deploying Secure 802.11 Wireless Networks with Microsoft Windows

Get in-depth technical information to aid maximize defense for instant networking infrastructures for pcs operating home windows XP, home windows Server 2003, or home windows 2000. The publication completely information how you can enforce IEEE 802. 11b instant LAN networking and its comparable authentication applied sciences for a home windows setting.

Virtualization For Dummies

Virtualization has develop into a “megatrend”—and for solid cause. enforcing virtualization enables extra effective usage of community server means, less complicated garage management, lowered power charges, and higher use of company capital. In different phrases: virtualization is helping you get a better price, strength, and house.

Professional Microsoft Sharepoint 2007 Workflow Programming

Specialist Microsoft SharePoint 2007 Workflow Programming . SharePoint 2007 presents both
workflow and job builders with wealthy workflow programming amenities, which permit them to
implement and set up their very own customized SharePoint workflows and activities.
This publication provides a number of distinctive step - by way of - step recipes for constructing and deploying SharePoint
workflows and actions, and diverse actual - global examples during which those recipes are used. This book
uses an process in response to research of distinctive code and in - intensity technical discussions that can assist you gain
the abilities, wisdom, and event you must improve and install your personal customized SharePoint
workflows and activities.

Introduction to Networking with Network+

Advent to Networking with community + is the cornerstone for  your networking curriculum. it's outfitted round the new  Network+ 2012 framework. it truly is dependent upon the CompTIA  Network+ certification and covers the latest examination  objectives.   Are you bored with books that disguise new applied sciences and examination  topics in a fleeting style, and are slowed down with legacy  technology insurance that's now out-dated?

Extra info for Programming the Network with Perl

Example text

3 Installing Net::PcapUtils The process of installing and testing Net::PcapUtils closely resembles that for Net::Pcap. 4 Online documentation To view the documentation for any NetPacket module, simply issue a man command at the Linux command prompt. This command displays the documentation for the TCP module: man NetPacket::TCP The Net::Pcap module provides a subroutine-for-subroutine Perl mapping to the libpcap library. Once the library is installed on a Linux system, you can learn about the library by accessing its man-page, as follows: man pcap This command will display a long, complicated list of subroutines and options.

This, therefore, provides a simple, yet highly useful, exception-handling mechanism. In the code which follows, a call to the inbuilt die subroutine causes the generation of a fatal error (and message). When called outside an eval block, the program would end immediately. When called inside an eval block, the evaluated code ends and the $@ variable is set to the message from die. Here is an eval example: eval { print "This is Apollo 13. \n"; }; if ($@) { print "Message from Apollo 13 - $@"; print "Let’s bring them home safely ...

Until: do { # Do something ... 4 Boolean in Perl Strangely, Perl has no inbuilt Boolean type6 . Instead, any Perl expression can be used as a condition, and can be evaluated to be either true or false. A number of rules help determine whether something is true or false as follows. Strings – a string is true, unless it contains "0" or the empty string. ) Numbers – a number is true, unless it evaluates to zero. ) References – all references are true. ) Undefs – anything with the undefined value is false.

Download PDF sample

Rated 4.26 of 5 – based on 41 votes