[ale] Perl Socket Programming
Greg Sabino Mullane
greg at turnstep.com
Mon Feb 11 08:33:35 EST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I need to do a little Perl socket programming
> ...
> Does anyone have a few simple examples they would like to share with me?
Socket programming is lumped under "interprocess communication" (IPC)
in the perldocs, so just do a "perldoc perlipc" to take a look at
the included examples (jump *way* down to the string "limited"). You
can also view it online:
http://www.perldoc.com/perl5.6/pod/perlipc.html#Sockets--Client-Server-Communication
Here is a shorter introduction to the subject:
http://www.perlfect.com/articles/sockets.shtml
Also, if you can get a hold of the books "Programming Perl"
or the "Perl Cookbook" (the camel and the ram (ok a bighorn sheep))
both have excellent sections on writing socket code. (See chapter
17 of the sheep, and chapter 6 of the camel).
By far the best resource off all of the above is the Perl Cookbook,
but all of them have some simple socket recipes to get you going.
By the way, please turn off "send as HTML" in your email program.
Greg Sabino Mullane greg at turnstep.com
PGP Key: 0x14964AC8 200202110830
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html
iD8DBQE8Z8gkvJuQZxSWSsgRAnorAJ9BtAiVnCGdW6bPCO3Ekkmb2+k1LQCfe0/4
sWbRTKRro40DQYreDoYFs8s=
=DbG4
-----END PGP SIGNATURE-----
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list