X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FUDPClientServer%2FMainpage.dox;h=5d8398227fd7ab70373f86161e437cf55b9bd85f;hb=0fb5ed1adf2f67dbf47fdfed3f3c8be989cf3618;hp=532f4e914886d4231ce67cd13037a4a3f94577e2;hpb=7babddea598bbef507bd5cddce0112f02d9f1b58;p=senf.git diff --git a/Examples/UDPClientServer/Mainpage.dox b/Examples/UDPClientServer/Mainpage.dox index 532f4e9..5d83982 100644 --- a/Examples/UDPClientServer/Mainpage.dox +++ b/Examples/UDPClientServer/Mainpage.dox @@ -1,6 +1,6 @@ -// $Id: Mainpage.dox 625 2008-01-16 12:00:00Z Pug $ +// $Id$ // -// Copyright (C) 2007 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -31,11 +31,11 @@ senf/Example/udpServer directory and compiled with
-        #scons -u
+        # scons -u
         
 
-        #./udpServer
-        #./udpClient
+        # ./udpServer
+        # ./udpClient
     
When we take a look to the code, we start with the Server: @@ -88,7 +88,7 @@ \until return 0; - That's it. We finish of by catching the exception and giving as much detail as possible if an + That's it. We finish of by catching the exception and giving as much %detail as possible if an exception is caught. The \c prettyName function from the \c Utils library is used, to get a nice, printable representation of the dynamic type of the exception instance. It is an interface to the g++ demangler. This is necessary since the name member of the C++ \c type_info instance is @@ -106,13 +106,13 @@ First a \c ::UDPv4ClientSocketHandle is created. With the function \c writeto(senf::INet4SocketAddress, string) the string s will be written to the specified - address and port, which is constructed here from a static string \c "127.0.0.1:4243". In this + address and port, which is constructed here from a static string read from the console with the format \c IP:PORT. In this example Integers from zero to ten are send to the Server socket. The exception handling is again the same as with the server application. */ - + // Local Variables: // mode: c++ // fill-column: 100