On Wed, Dec 6, 2017 at 12:13 AM, Vishal Prasad <vprasa...@gmail.com> wrote:
> And this is the client:
> (define (hello_socket port)
> (define-values (in out) (tcp-connect "localhost" port))
> (write "hello socket world\n" out)
> (display (read in)))
> The client does not receive any text back, and just hangs on the read.
> The `write` is buffered. If you add a `(flush-output out)`, it will work.
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.