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 <p...@towardsfreedom.com> wrote: > in php i can do this: > $ip=$_SERVER['REMOTE_ADDR']; > > to find out what the client ip address is. > > how do i do it in racket? > > i looked at request-client-ip provided by > web-server/http/request-structs > but that seems to require i run the racket webserver. > > > -- > in friendship, > prad > > ____________________ > Racket Users list: > http://lists.racket-lang.org/users -- Jay McCarthy <j...@cs.byu.edu> Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay "The glory of God is Intelligence" - D&C 93 ____________________ Racket Users list: http://lists.racket-lang.org/users