---

Open Source Digest: Network Programming with IO::Socket

[ Thanks to Baiju Thakkar for this
link. ]

“Many Perl programs use the LWP::UserAgent module to download
web pages. LWP::UserAgent provides a high-level interface to the
network: we give it a URL, and it returns a web page. This
interface hides several low-level operations

  • “setting up network connections
  • “performing network I/O
  • “managing the application protocol (HTTP)

“In this article, we’ll get underneath the application protocols
and see how to do our own network I/O. This will give us the tools
we need to write our own network servers and implement our own
protocols.

“There are many different computer networks and protocols. This
article limits itself almost exclusively to the TCP/IP protocols
that run on the internet…”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis