Questions tagged [networking]
The networking tag has no summary.
23 questions
0 votes
1 answer
27 views
bindat-unpack, how does deserialization work for plain integers?
I started getting my feet wet with what is a complex topic in elisp, data serialize/de-serialize. In the example below, i have a binary data with only one field, a 16-bit number. It is represented by ...
0 votes
1 answer
38 views
request--curl-sync: Symbol’s value as variable is void: auto-revert-notify-watch-descriptor-hash-list
I switched to Emacs 29.1 recently (from Emacs 26). I had this working function: (require 'request) (require 'json-mode) (defun get-inspire-json-from-id (TYPE INSPIRE_ID) "It returns, from the ...
1 vote
1 answer
137 views
Find the IPv4 address of the host
I'm configuring simple-httpd so I can access my elfeed remotely and would like to automatically detect the IP address of the host (since I use the config across machines and want to set it dynamically)...
1 vote
1 answer
79 views
Why this magit process happens after pushing some changes to a remote repository? How to avoid it?
After pushing some changes to a remote repository using magit, Emacs shows this process running: git-credenti... 72390 run *git-creden... /dev/pts/1 git credential-cache--daemon /home/pedro/....
1 vote
1 answer
78 views
Lexical binding in a process filter
The code constantly prints server-process: nil instead of the server process name: -*- lexical-binding: t; -*- (let* ((port 1234) (server-process 'something)) (setq server-process (...
10 votes
2 answers
5k views
How do I retrieve the machine's hostname?
I'm currently hacking on an elisp IRC bot and have a section of code that I want to enable only when it's run on a remote machine with a specific hostname. However, I couldn't find any premade ...
2 votes
0 answers
382 views
make-network-process fails in Emacs 25
make-network-process fails on Emacs25 (25.1.50.2 2016-07-03) when loaded with -q and -Q and trying to eval the following example: (make-network-process :name "*server2*" :type nil ; stream :server ...
4 votes
1 answer
248 views
Find IPv6 address of network interface
I want to find the IP addresses of all network interfaces in an elisp program. I tried this: (mapcar (lambda (if) (cons (car if) (network-interface-info (car if)))) (network-interface-...