You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <ne...@husted.com> on 2001/03/12 23:47:14 UTC

Logging IP Addresses

This is mildly off-topic, but I'm logging accesses to my application
when people login. I'd like to convert the IP string (xxx.xxx.xxx.xxx)
returned by the HttpRequest to an unsigned integer. Before I write one,
I wondered if anyone had a handy library routine for that. 

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/