From: Martin Pool Date: Tue, 9 Apr 2002 05:20:30 +0000 (+0000) Subject: Doc start_socket_client X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/fdf88d7574cfd4fba8f4cb8b2a84168b57e456e8 Doc start_socket_client --- diff --git a/clientserver.c b/clientserver.c index c8676f64..0ba2d0cd 100644 --- a/clientserver.c +++ b/clientserver.c @@ -38,7 +38,12 @@ extern int sanitize_paths; * Run a client connected to an rsyncd. The alternative to this * function for remote-shell connections is do_cmd(). * - * After initial server startup, hands over to client_run(). + * After negotiating which module to use and reading the server's + * motd, this hands over to client_run(). Telling the server the + * module will cause it to chroot/setuid/etc. + * + * Instead of doing a transfer, the client may at this stage instead + * get a listing of remote modules and exit. * * @return -1 for error in startup, or the result of client_run(). **/