Linux Today: Linux News On Internet Time.

More on LinuxToday

Open Source Digest: Network Programming with IO::Socket

May 07, 2003, 07:00 (0 Talkback[s])
(Other stories by Steven McDougall)

[ 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

Related Stories: