[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #502: in spiffy, make tcp-addresses configurable

From: Chicken Trac
Subject: [Chicken-janitors] #502: in spiffy, make tcp-addresses configurable
Date: Mon, 14 Feb 2011 03:25:31 -0000

#502: in spiffy, make tcp-addresses configurable
 Reporter:  zbigniew     |       Owner:  sjamaan
     Type:  enhancement  |      Status:  new    
 Priority:  minor        |   Milestone:  4.7.0  
Component:  unknown      |     Version:  4.6.x  
 Keywords:  yep          |  
 spiffy has only one dependency on the core tcp unit -- {{{tcp-
 addresses}}}.  Both the listen procedure and the accept procedure can be
 passed to {{{start-server}}} via keywords, but the procedure used to
 resolve the local and remote addresses from an input port cannot.  By
 making {{{tcp-addresses}}} configurable in this manner, dirty and
 unscalable hack though it be, spiffy can be used with the tcp6 egg like
 (use tcp6)
 (start-server accept: tcp-accept listen: tcp-listen addresses: tcp-
 Attached is one possible implementation.  Interestingly, you could now
 remove the ssl-specific addresses code (essentially: {{{(tcp-addresses
 (ssl-port->tcp-port p))}}}) from spiffy and move it into, e.g. {{{ssl-
 addresses}}} in the openssl egg, but this is not really practical.

Ticket URL: <>
Chicken Scheme <>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]