From: g0dil Date: Thu, 9 Jul 2009 13:38:57 +0000 (+0000) Subject: Utils/Console: Documentation updates X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=dbf1b1510b3b3523231eaf58614bcb0c2459ee4a;p=senf.git Utils/Console: Documentation updates git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1264 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Utils/Console/Mainpage.dox b/Utils/Console/Mainpage.dox index 4d43cfc..4029ada 100644 --- a/Utils/Console/Mainpage.dox +++ b/Utils/Console/Mainpage.dox @@ -564,7 +564,7 @@ Commands may then be sent to this UDP console e.g. using netcat
-    $ echo "cd sys; ls" | nc6 -u --half-close localhost 23232 2>/dev/null
+    $ echo "cd sys; ls" | nc -uq0 localhost 23232 2>/dev/null
     
\see senf::console::UDPServer diff --git a/Utils/Console/UDPServer.hh b/Utils/Console/UDPServer.hh index 09832c1..f2024c1 100644 --- a/Utils/Console/UDPServer.hh +++ b/Utils/Console/UDPServer.hh @@ -80,12 +80,16 @@ namespace console { /////////////////////////////////////////////////////////////////////////// UDPServer & replies(bool enable); ///< Enable or disable reply packets + /** \e Default: enabled */ UDPServer & replies(senf::INet4SocketAddress const & address); ///< Send replies to \a address + /**< \e Default: no address set (send replies to sender) */ UDPServer & replies(senf::INet6SocketAddress const & address); ///< Send replies to \a address + /**< \e Default: no address set (send replies to sender) */ UDPServer & emptyReplies(bool enable); ///< Enable or disable empty reply packets + /**< \e Default: enabled */ DirectoryNode & root() const; ///< Get root node