<?xml version="1.0" encoding="windows-1252"?>
<node id="5549" title="lhoward" created="2000-03-17 15:48:36" updated="2004-01-23 01:15:57">
<type id="15">
user</type>
<author id="5549">
lhoward</author>
<data>
<field name="doctext">
&lt;br&gt;
My main perl strengths are in using modules 
and in programming the &lt;i&gt;outside&lt;/i&gt; perl including DBI, 
networking, IPC,
signals, date and time computations, 
regular expressions, graphics
manipulation, etc...  
&lt;p&gt;
I enjoy playing chess.  You can catch
me on &lt;a href="http://www.chessclub.com"&gt;ICC&lt;/a&gt;
playing as &lt;a href="http://www.chessclub.com/cgi-bin/finger/finger.pl?handle=harbinger"&gt;harbinger&lt;/a&gt;.


&lt;p&gt;
&lt;a href="mailto:les@lesandchris.com"&gt;Les Howard&lt;/a&gt;&lt;br&gt;
&lt;a href="http://www.lesandchris.com"&gt;www.lesandchris.com&lt;/a&gt;&lt;br&gt;
Author of 
&lt;a href="http://search.cpan.org/doc/LHOWARD/Net-Syslog-0.03/Syslog.pm"&gt;Net::Syslog&lt;/a&gt;
and
&lt;a href="http://search.cpan.org/doc/LHOWARD/Number-Spell-0.04/Spell.pm"&gt;Number::Spell&lt;/a&gt;
.&lt;p&gt;

&lt;hr&gt;
&lt;h2&gt;Sample Code Posted Here&lt;/h2&gt;
&lt;code&gt;
#!/usr/bin/perl -w

use strict;
use IO::Socket;
use IO::Select;

my $s=new IO::Select;

my $ip1=IO::Socket::INET-&gt;new(LocalPort =&gt; 5925, Proto=&gt;'udp', 
        LocalAddr =&gt; '127.0.0.1')
        or die "error creating UDP server $@\n";
my $ip2=IO::Socket::INET-&gt;new(LocalPort =&gt; 5925, Proto=&gt;'udp',
        LocalAddr =&gt; '64.82.70.84')
        or die "error creating UDP server $@\n";
$s-&gt;add($ip1);
$s-&gt;add($ip2);

while(1){
  my $server;
  foreach $server($s-&gt;can_read(60)){
    my $newmsg;
    $server-&gt;recv($newmsg,1024);
    my ($rport,$ripaddr) = sockaddr_in($server-&gt;peername);
    print "remote: ".inet_ntoa($ripaddr)."($rport)\n";
    my ($lport,$lipaddr) = sockaddr_in($server-&gt;sockname);
    print "local: ".inet_ntoa($lipaddr)."($lport)\n";
  }
}

&lt;/code&gt;</field>
<field name="lasttime">
2009-07-29 17:29:52</field>
<field name="experience">
5639</field>
<field name="user_scratchpad">
360044</field>
<field name="imgsrc">
images/userincoming/lhoward.jpeg</field>
<field name="timeformat">
</field>
<field name="numwriteups">
576</field>
<field name="location">
Atlanta, GA, USA</field>
<field name="timezone">
-11</field>
<field name="codewrapoff">
</field>
<field name="codewraplength">
</field>
<field name="codeautowrap">
</field>
<field name="codeprefix">
</field>
<field name="codebig">
</field>
</data>
</node>
