[racket] networking error[simple server and client]

From: Noel Welsh (noelwelsh at gmail.com)
Date: Fri Oct 8 10:29:03 EDT 2010

Please email your responses to the list not (just) me. You'll get more

On Fri, Oct 8, 2010 at 3:10 PM, 김태윤 <kty1104 at gmail.com> wrote:
> there is a router on server computer
> is there any way I can use computer as server with router?

Probably you just need to open a port, which you can do via your
router configuration tool.

> the variable issue, um.. every time I try to send information using (print
> sth output)
> server receive it as string but I want to send image or just integer

You need to write functions to interpret want you send in the way you
want. The function read will get you some of the way there, but you
need to make sure you terminate the input with a newline or other
delimiter so read knows when to stop reading (as you've already seen).


Posted on the users mailing list.