X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FUDPClientServer%2FMainpage.dox;h=5d8398227fd7ab70373f86161e437cf55b9bd85f;hb=0fb5ed1adf2f67dbf47fdfed3f3c8be989cf3618;hp=197e52a5ce48892bdd45cbd63f83f9157cef666d;hpb=67b2702fa6c55a2fa8e318e50271ed714796d597;p=senf.git diff --git a/Examples/UDPClientServer/Mainpage.dox b/Examples/UDPClientServer/Mainpage.dox index 197e52a..5d83982 100644 --- a/Examples/UDPClientServer/Mainpage.dox +++ b/Examples/UDPClientServer/Mainpage.dox @@ -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