From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Non-blocking open-network-stream Date: Sat, 2 Mar 2002 08:59:02 +0100 Message-ID: <200203020759.IAA18231@xaital.online-marketwatch.com> References: <5xwux64cxe.fsf@kfs2.cua.dk> <5xg03pyyo3.fsf@kfs2.cua.dk> <5xadtvuodz.fsf@kfs2.cua.dk> <200202280408.g1S48QG19264@aztec.santafe.edu> <5xvgchkui4.fsf@kfs2.cua.dk> Reply-To: Helmut Eller NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1015056355 677 195.204.10.66 (2 Mar 2002 08:05:55 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 2 Mar 2002 08:05:55 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16h4Wh-0000Ap-00 for ; Sat, 02 Mar 2002 09:05:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16h4R6-0006Qj-00; Sat, 02 Mar 2002 03:00:08 -0500 Original-Received: from 212186011228.11.tuwien.teleweb.at ([212.186.11.228] helo=xaital.online-marketwatch.com) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16h4Q6-0006Oa-00 for ; Sat, 02 Mar 2002 02:59:06 -0500 Original-Received: (from helmut@localhost) by xaital.online-marketwatch.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id IAA18231; Sat, 2 Mar 2002 08:59:02 +0100 X-Authentication-Warning: xaital.online-marketwatch.com: helmut set sender to e9626484@stud3.tuwien.ac.at using -f Original-To: storm@cua.dk In-reply-to: <5xvgchkui4.fsf@kfs2.cua.dk> (storm@cua.dk) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1686 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1686 storm@cua.dk (Kim F. Storm) writes: > (do we have papers for that?) No. If needed, I will sign papers. > However, I think it can be done via open-network-stream: > > If the HOST argument is nil, a server socket is opened which > accepts connections. The sentinel is called - with a newly > created process - whenever a connections is accepted. I see several problems with this approach: - What is the process-name for the connections? The same as for the server socket? All connections with the same name? - How do you open a Unix server socket? - It's possible to open Unix server sockets. It would be reasonable to support Unix client sockets too. How can this be done? - What should NON-BLOCKING mean for server sockets? - open-network-stream takes already 7 arguments. Putting even more functionality in makes it hard to document. Server sockets are IMHO different enough to merit a separate function. What is the advantage of merging those concepts? _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel