Re: [racket] getting remote ip address

2013-05-14 Thread prad
Jay McCarthy 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 s

Re: [racket] getting remote ip address

2013-05-14 Thread Jay McCarthy
You want the tcp-addresses function http://docs.racket-lang.org/reference/tcp.html?q=addresses#%28def._%28%28lib._racket%2Ftcp..rkt%29._tcp-addresses%29%29 Jay On Tue, May 14, 2013 at 12:07 PM, prad wrote: > in php i can do this: > $ip=$_SERVER['REMOTE_ADDR']; > > to find out what the client ip