Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #6 from eschulte/master

adding Emacs Lisp echo server
  • Loading branch information...
commit 3f076828a88c976833f44b7f0dad04ceb4c05d04 2 parents 8d11a9a + 8296df5
@methane authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 server_elisp.el
View
11 server_elisp.el
@@ -0,0 +1,11 @@
+;; requires Emacs 24 or later
+;; run with "emacs -Q -l server_elisp.el"
+(make-network-process
+ :name "echo-server"
+ :service 5000
+ :filter (lambda (process string)
+ (process-send-string process string)
+ (delete-process process))
+ :server t
+ :nowait t
+ :family (quote ipv4))
Please sign in to comment.
Something went wrong with that request. Please try again.