Giovanni/Rich

I had the opportunity to use the gethostbyaddr() API to gather IP host
name information on visitors to an iSeries based web site.

This is a useful tool for analyzing security issues as well as being a
great potential resource for corporate marketing departments. 
For marketing, it allowing staff to discover potential customers and
test efficiency of advertising and marketing campaigns.

Adding gethostbyaddr (and gethostbyname) support to CGIDEV2 as a
procedure would make a good addition to the CGIDEVS toolset.  It is
already pretty standard in other CGI languages like PHP and even java
supports it through a class.

Leif Guldbrand at http://www.think400.dk/ has a good RPG example of
using gethostbyaddr(). (ref:http://www.think400.dk/adhoc_3.htm#eks0018)

Scott Klement also covers this api at http://www.scottklement.com/

I'm not sure who is responsible for additions to CGIDEV2 anymore so I
am posting the request here.  

marty
(my example ref: http://as400.liberty-i.net/mycgilibp/pgm31.pgm)







--- In [email protected], "Rich Diedrich" <[EMAIL PROTECTED]> wrote:
>
> Thanks for the correction, I did mean gethostbyaddr()
> 
> Rich
> 
> --- In [email protected], Scott Klement <[EMAIL PROTECTED]> wrote:
> > > The getnetbyaddr socket API can be used to look up the name
> information 
> > > of a host given its address.
> > 
> > Do you mean gethostbyaddr()?
> > 
> > I thought getnetbyaddr() only looks up data in the network table? 
> (i.e. 
> > the table maintained by the WRKNETTBLE command).  I didn't think
it was 
> > capable of anything else.
>





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/wbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to