[racket] network server with places?

From: Jon Zeppieri (zeppieri at gmail.com)
Date: Tue Jun 7 01:09:02 EDT 2011

Sorry, after I wrote this, I realized that I had misread the types of
scheme_socket_to_ports() and scheme_socket_to_ports(). With the
obvious adjustments, it works. Thanks again.

On Tue, Jun 7, 2011 at 12:45 AM, Jon Zeppieri <zeppieri at gmail.com> wrote:
> OK, scheme_get_port_fd() seems consistently to return -1 for ports
> returned by tcp-accept, so I'm trying instead to use
> scheme_get_port_socket() and scheme_socket_to_ports(). However, when I
> attempt to write to the resulting output port, I'm told that I'm
> writing to an invalid file descriptor.  Example code follows:

Posted on the users mailing list.