home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / tcps.zip / Read.me < prev    next >
Text File  |  2002-06-07  |  1KB  |  27 lines

  1.         1. tcptst-org.exe -> Original module povided by the customer.
  2.         2. tcptst-org.cpp -> Source code used to build tcptst-org.exe.
  3.             ( Please note that the above two files have been provided
  4.               by the customer and we have only renamed them.)
  5.  
  6.         3. tcps.exe       -> This exe displays a simple TCP server behaviour.
  7.         4. tcps.c         -> Source code used to build tcps.exe.
  8.  
  9.         5. tcptst-timerset.exe -> This exe has Sleep enabled in it just before
  10.             making the actual accept call.The sleeptime has been adjusted to
  11.             so that we always get to close the socket before accept.
  12.         6. tcptst-timernotset.exe -> This exe has Sleep disabled, so it is now
  13.             on the discretion kernel as to which call is executed first on both
  14.             threads i.e, SoClose in the main thread (Terminate routine) and
  15.             Accept in the second thread (ServerAcceptConn routine).
  16.             Both the executables above (5 & 6) issue accept only twice.There
  17.             is no indefinite looping for doing an accept.
  18.         7. tcptst-timer.c -> Source code for exe's 5 & 6 above.There is only a
  19.             single line of code change between these two exe's which commented
  20.             in line no. 125-127 of the code.
  21.  
  22. Error Code returned by above modules:
  23. ---------------------------------------
  24.    10004 --> SOCEINTR. Interrupted System Call.
  25.    10038 --> SOCENOTSOCK. Socket Operation on a non-socket.
  26.  
  27.