certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/libCERTI SocketUN.cc SocketUDP.cc SocketT...


From: certi-cvs
Subject: [certi-cvs] certi/libCERTI SocketUN.cc SocketUDP.cc SocketT...
Date: Thu, 04 Jun 2009 11:58:51 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      09/06/04 11:58:51

Modified files:
        libCERTI       : SocketUN.cc SocketUDP.cc SocketTCP.cc 

Log message:
        Statistics should be explicitely printed in "Bytes"

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SocketUN.cc?cvsroot=certi&r1=3.28&r2=3.29
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SocketUDP.cc?cvsroot=certi&r1=3.23&r2=3.24
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SocketTCP.cc?cvsroot=certi&r1=3.27&r2=3.28

Patches:
Index: SocketUN.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/SocketUN.cc,v
retrieving revision 3.28
retrieving revision 3.29
diff -u -b -r3.28 -r3.29
--- SocketUN.cc 7 Dec 2008 20:16:15 -0000       3.28
+++ SocketUN.cc 4 Jun 2009 11:58:51 -0000       3.29
@@ -292,8 +292,8 @@
   SocketTCP::winsockShutdown();
 #endif
 
-pD->Out(pdCom, "Unix Socket %2d : total = %9db sent", _socket_un, 
SentBytesCount ) ;
-pD->Out(pdCom, "Unix Socket %2d : total = %9db received", _socket_un, 
RcvdBytesCount ) ;
+pD->Out(pdCom, "Unix Socket %2d : total = %9d Bytes sent", _socket_un, 
SentBytesCount ) ;
+pD->Out(pdCom, "Unix Socket %2d : total = %9d Bytes received", _socket_un, 
RcvdBytesCount ) ;
 
 delete pD ;
 }

Index: SocketUDP.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/SocketUDP.cc,v
retrieving revision 3.23
retrieving revision 3.24
diff -u -b -r3.23 -r3.24
--- SocketUDP.cc        12 Oct 2008 11:46:41 -0000      3.23
+++ SocketUDP.cc        4 Jun 2009 11:58:51 -0000       3.24
@@ -233,12 +233,12 @@
     cout.width(2);
     cout << _socket_udp << " : total = " ;
     cout.width(9);
-    cout << SentBytesCount << "b sent " << endl ;
+    cout << SentBytesCount << " Bytes sent " << endl ;
     cout << " UDP Socket " ;
     cout.width(2);
     cout << _socket_udp << " : total = " ;
     cout.width(9);
-    cout << RcvdBytesCount << "b received" << endl ;
+    cout << RcvdBytesCount << " Bytes received" << endl ;
 #endif
 }
 

Index: SocketTCP.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/SocketTCP.cc,v
retrieving revision 3.27
retrieving revision 3.28
diff -u -b -r3.27 -r3.28
--- SocketTCP.cc        7 Dec 2008 20:16:15 -0000       3.27
+++ SocketTCP.cc        4 Jun 2009 11:58:51 -0000       3.28
@@ -17,7 +17,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: SocketTCP.cc,v 3.27 2008/12/07 20:16:15 gotthardp Exp $
+// $Id: SocketTCP.cc,v 3.28 2009/06/04 11:58:51 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifdef _WIN32
@@ -124,12 +124,12 @@
     cout.width(2);
     cout << _socket_tcp << " : total = " ;
     cout.width(9);
-    cout << SentBytesCount << "b sent " << endl ;
+    cout << SentBytesCount << " Bytes sent " << endl ;
     cout << " TCP Socket " ;
     cout.width(2);
     cout << _socket_tcp << " : total = " ;
     cout.width(9);
-    cout << RcvdBytesCount << "b received" << endl ;
+    cout << RcvdBytesCount << " Bytes received" << endl ;
 #endif
 }
 
@@ -596,4 +596,4 @@
 
 } // namespace
 
-// $Id: SocketTCP.cc,v 3.27 2008/12/07 20:16:15 gotthardp Exp $
+// $Id: SocketTCP.cc,v 3.28 2009/06/04 11:58:51 erk Exp $




reply via email to

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