[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Win32 Threading Issue
From: |
Hans Bulfone |
Subject: |
Re: [Chicken-users] Win32 Threading Issue |
Date: |
Fri, 28 Mar 2008 23:42:58 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
hi,
On Thu, Mar 27, 2008 at 06:12:15PM -0400, Raymond Medeiros wrote:
> (define send-data
> (lambda (ip port msg)
> (define-values (i o) (tcp-connect (->string ip) port))
> (write msg o)
> (let ((result (read-line i)))
> (close-input-port i)
> (close-output-port o) result)))
if i had to guess i'd try to move the (close-output-port o) before the
read-line.
but i don't have windows.
hth&bye,
hans.