Update of /cvsroot/playerstage/code/player/libplayertcp
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13510/libplayertcp

Modified Files:
        playertcp.cc playertcp.h 
Log Message:
adding some hooks to libplayertcp

Index: playertcp.h
===================================================================
RCS file: /cvsroot/playerstage/code/player/libplayertcp/playertcp.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** playertcp.h 21 Sep 2007 18:30:39 -0000      1.24
--- playertcp.h 21 Sep 2007 21:41:00 -0000      1.25
***************
*** 153,156 ****
--- 153,157 ----
                              bool send_banner,
                              int* kill_flag);
+     int Update(int timeout);
      int Accept(int timeout);
      void Close(int cli);

Index: playertcp.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/libplayertcp/playertcp.cc,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** playertcp.cc        21 Sep 2007 18:30:39 -0000      1.61
--- playertcp.cc        21 Sep 2007 21:41:00 -0000      1.62
***************
*** 286,289 ****
--- 286,299 ----
  
  int
+ PlayerTCP::Update(int timeout)
+ {
+   int ret;
+   this->Write();
+   if((ret = this->Accept(0)))
+     return(ret);
+   return(this->Read(timeout));
+ }
+ 
+ int
  PlayerTCP::Accept(int timeout)
  {


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to