Re: [racket] Using get-pure-port

2011-08-18 Thread Eli Barzilay
Two hours ago, Shogo Yamazaki wrote: > Thanks for your help. > The way you suggested worked for me. > > By the way, I found that adding a line to the definition of > http-pipe-data in url-unit.rkt might resolve my problem either. > But I hardly understand what I'm doing. > > (define (http-pipe-da

Re: [racket] Using get-pure-port

2011-08-18 Thread Danny Yoo
> By the way, I found that adding a line to the definition of > http-pipe-data in url-unit.rkt might resolve my problem either. > But I hardly understand what I'm doing. > > (define (http-pipe-data chunked? ip op) >  (if chunked? >      (http-pipe-chunk ip op) >      (begin >        (copy-port ip o

Re: [racket] Using get-pure-port

2011-08-18 Thread Shogo Yamazaki
Thanks for your help. The way you suggested worked for me. By the way, I found that adding a line to the definition of http-pipe-data in url-unit.rkt might resolve my problem either. But I hardly understand what I'm doing. (define (http-pipe-data chunked? ip op) (if chunked? (http-pipe-ch

[racket] Using get-pure-port

2011-08-18 Thread Shogo Yamazaki
Hi, I have a question about using get/post-pure-port. I'm using Racket v5.1.2.3 and FreeBSD 8.2. It seems tcp-port is still opened after I used get-pure-port. How can I close this? The code is below. (require net/url) (let ((in (get-pure-port (string->url "http://www.google.com/intl/en_com/image