Permalink
Browse files

adding Emacs Lisp echo server

  • Loading branch information...
1 parent 8d11a9a commit 8296df55c76450e366669cd715c5385f331e995a @eschulte eschulte committed Jan 6, 2014
Showing with 11 additions and 0 deletions.
  1. +11 −0 server_elisp.el
View
@@ -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))

0 comments on commit 8296df5

Please sign in to comment.