all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
Cc: "Emacs-Devel (E-mail)" <emacs-devel@gnu.org>
Subject: Re: server-start under Windows - revisited
Date: 09 Nov 2002 13:10:03 +0000	[thread overview]
Message-ID: <m2fzuaevo4.fsf@nyaumo.btinternet.com> (raw)
In-Reply-To: <002801c28799$41cfaaf0$6501a8c0@GODDESS>

"Ben Key" <Bkey1@tampabay.rr.com> 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 "127.0.0.1" 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	other threads:[~2002-11-09 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-09  2:39 server-start under Windows - revisited Ben Key
2002-11-09 13:10 ` Jason Rumney [this message]
2002-11-09 20:20 ` Stefan Monnier
2002-11-10 18:07 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2fzuaevo4.fsf@nyaumo.btinternet.com \
    --to=jasonr@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.