[Top][All Lists]

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

Re: server-start under Windows - revisited

From: Jason Rumney
Subject: Re: server-start under Windows - revisited
Date: 09 Nov 2002 13:10:03 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

"Ben Key" <address@hidden> writes:

> 2. If AF_LOCAL sockets are not available, I need to then attempt to set the
> server process using tcp sockets.  This I am not certain how to do.  Are TCP
> sockets the same as INet?  Can I do this with the following?
>           (setq server-process
>                 (make-network-process
>                  :name "server" :server t :noquery t
>                  :service server-socket-name
>                  :sentinel 'server-sentinel :filter 'server-process-filter
>                  ;; We must receive file names without being decoded.
>                  ;; Those are decoded by server-process-filter according
>                  ;; to file-name-coding-system.
>                  :coding 'raw-text))

I would also add :host "" to the above, to avoid opening the
server socket to the world. Other than that, the above looks OK, but
I am not familiar with that code, so my opinion might not mean much.

reply via email to

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