Commit 75728599 authored by Jason Rumney's avatar Jason Rumney
Browse files

(Fmake_network_process): Only support server sockets

when we can make them non-blocking.
parent 6995786d
......@@ -2590,7 +2590,9 @@ usage: (make-network-process &rest ARGS) */)
tem = Fplist_get (contact, QCserver);
if (!NILP (tem))
#ifdef TERM
/* Don't support network sockets when non-blocking mode is
not available, since a blocked Emacs is not useful. */
#if defined(TERM) || (!defined(O_NONBLOCK) && !defined(O_NDELAY))
error ("Network servers not supported");
is_server = 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment