Jon,
Thanks!
-Vishal
On Wednesday, December 6, 2017 at 12:19:07 AM UTC-5, Jon Zeppieri wrote:
>
>
>
> On Wed, Dec 6, 2017 at 12:13 AM, Vishal Prasad > wrote:
>
>> And this is the client:
>>
>>
>> (define (hello_socket port)
>> (define-values (in out) (tcp-connect "localhost" port))
>> (
On Wed, Dec 6, 2017 at 12:13 AM, Vishal Prasad 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
Really embarrassed I can't figure out what's going on here, but I just
spent the last two hours banging my head against this going nowhere.
I'm trying to create a simple echo server and client in Racket.
This is the server:
(define (hello_listen port)
(define listener (tcp-listen port
3 matches
Mail list logo