O'Reilly logo

Pro Perl by Peter Wainwright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 22Networking

The basics of networking are not greatly different from input and output to any other kind of device or file. A filehandle that provides abstract access to a network socket shares many of the properties of a filehandle that provides access to a file or a serial port—not least that they can all be represented as filehandles. However, programs designed to work across a network have a new range of problems and challenges to solve beyond those encountered by local file system and device access.

In this chapter, we look at the basics of establishing network connections with sockets and how to create them using Perl's built-in networking functions. While we do not always need to go to the lowest level of network programming and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required