[gambit-list] open-tcp-client won't connect to Emacs server?

James Long longster at gmail.com
Fri Oct 2 11:34:20 EDT 2009


On Fri, Oct 2, 2009 at 9:14 AM, Marc Feeley <feeley at iro.umontreal.ca> wrote:
> In my own experiments to get Gambit and emacs talking over TCP I have used
> this incantation:
>
>          (make-network-process :name process-name
>                                :buffer buffer-name
>                                :family 'ipv4
>                                :service port-num
>                                :sentinel 'egrpc-sentinel
>                                :filter 'egrpc-filter
>                                :server 't)
>
> and it works for me.  So I don't know if the :host is interfering, or the
> lack of a :sentinel.

I figured it out.  The Emacs server was using ipv6 and Gambit was
using ipv4.  I have to tell either one to use the correct one.  In my
case, adding ":family 'ipv4" or setting the host to "127.0.0.1" fixed
it.

Thanks,
James



More information about the Gambit-list mailing list