emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New patch for server sockets and datagram (UDP) support.


From: Richard Stallman
Subject: Re: New patch for server sockets and datagram (UDP) support.
Date: Fri, 8 Mar 2002 02:09:19 -0700 (MST)

Helmut, what do you think of this approach?  Does it solve the problems
you were concerned about?

Given that datagram streams are handled so differently at the user
level, would it be better to have a different function to open one?


    +   DEFVAR_LISP ("network-server-log-function", 
&Vnetwork_server_log_function,
    +          doc: /* Function called when accepting a network connecting.
    + Arguments are SERVER, PROCESS, and MESSAGE, where SERVER is the server 
process,
    + PROCESS is the new process for the connection, and MESSAGE is a string.  
*/);

Could you please explain more about this?  I am wondering whether
having a single function to be called for all connections is the right
interface for the job.


For consistency, please have two separate functions
process-datagram-address and set-process-datagram-address.
The former should just return the current status; the latter
should set it, like the other set-process-... functions.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]