On Fri, Oct 8, 2010 at 6:56 AM,  <[email protected]> wrote:
> could somebody please let me know what I have to do?
>
> server source:
> #lang racket
> (require racket/tcp)
> (define listener (tcp-listen 12345))
> (let echo-server ()
> (define-values (in out) (tcp-accept listener))
> (display "received")

Right here, you are displaying "received" to the standard output
(terminal) rather than the network port named out you just opened
above. Fix that and your program should work.

HTH,
N.
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to