[gambit-list] open-tcp-client

Marc Feeley feeley at iro.umontreal.ca
Wed Aug 16 23:30:28 EDT 2006

On 15-Aug-06, at 3:48 PM, Lang Martin wrote:

> I note that UDP and RAW socket support is on it's way -- does this
> include support for specifying other parts of the address request? I
> need tcp clients and servers to bind to source addresses that aren't
> the default address on the machine.

Yes this is implemented in my working version.  You have to say for  

(open-tcp-server (list port-number: 80 server-address: '#u8(127 0 0 1)))

If you use #f for the server address, or you omit it, you get  
INADDR_ANY (listen on all interfaces).

> I started digging into working on this myself, but it seems a bit more
> complicated than I was hoping.
> Is support for the full set of socket options planned? Soon?

Which options are you interested in?


More information about the Gambit-list mailing list