[ale] Perl Socket Programming

Fletch fletch at phydeaux.org
Mon Feb 11 22:03:33 EST 2002


>>>>> "Greg" == Greg Sabino Mullane <greg at turnstep.com> writes:

    >> I need to do a little Perl socket programming ...  Does anyone
    >> have a few simple examples they would like to share with me?

[...]

    Greg> Also, if you can get a hold of the books "Programming Perl"
    Greg> or the "Perl Cookbook" (the camel and the ram (ok a bighorn
    Greg> sheep)) both have excellent sections on writing socket
    Greg> code. (See chapter 17 of the sheep, and chapter 6 of the
    Greg> camel).


        Both `perldoc perlipc' and the above books are excelent places
to start (and you shouldn't be without them if you're doing perl :).
You may want to also look into Lincoln Stein's (of CGI.pm fame) book
`Network Programming with Perl' which specifically covers all sorts of
socket related programming (TCP, UDP, UNIX domain sockets, yadda yadda
yadda).


http://www.amazon.com/exec/obidos/ASIN/0201615711/


        Of course you can always just cheat and use something like
apache and LWP to do all the hard work and just throw things around
using HTTP.  Or consider looking into XMLRPC and the RPC::XML modules.


http://xmlrpc.org/
http://www.blackperl.com/RPC::XML/


        (Although I have to admit a recent python with xmlrpclib is a
pretty spiffy way to use XMLRPC)

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
                      |                                               U

---
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