Update of /cvsroot/simspark/simspark/contrib/agentspark
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23392
Modified Files:
Tag: WIN32
main.cpp
Log Message:
- flush stdout on agent startup and agent stop
Index: main.cpp
===================================================================
RCS file: /cvsroot/simspark/simspark/contrib/agentspark/Attic/main.cpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** main.cpp 23 Feb 2007 19:58:20 -0000 1.1.2.1
--- main.cpp 23 Feb 2007 22:17:34 -0000 1.1.2.2
***************
*** 84,88 ****
bool Init()
{
! cout << "connecting to TCP " << gHost << ":" << gPort << "\n";
try
--- 84,88 ----
bool Init()
{
! cout << "connecting to TCP " << gHost << ":" << gPort << endl;
try
***************
*** 121,125 ****
{
gSocket.close();
! cout << "closed connection to " << gHost << ":" << gPort << "\n";
}
--- 121,125 ----
{
gSocket.close();
! cout << "closed connection to " << gHost << ":" << gPort << endl;
}
|