[racket] getting remote ip address

From: prad (prad at towardsfreedom.com)
Date: Tue May 14 22:01:14 EDT 2013

Jay McCarthy <jay.mccarthy at gmail.com>
writes:

> You want the tcp-addresses function ...
>
thx jay!

i think i misled with my question though by not providing enough info -
especially like i'm trying to get the ip address of the client through a
cgi script.

my son solved my problem by pointing out that REMOTE_ADDR is a standard
environment variable, so all i needed to do was

(getenv "REMOTE_ADDR")

he also chastised me for not mentioning the cgi bit. :D

-- 
in friendship,
prad


Posted on the users mailing list.