CSocketServer v1.0.2.8

Version: 1.0.2.8
Status: Pre-release
Released: 2008-11-06
License: MIT License
Downloads
Source-Code

This is open source under the MIT License. You can obtain the source code for this specific version from GitHub or browse the releases for source code associated with specific versions. If you make any changes which you feel improves this application, please feel free to submit a pull - request.

Release Notes
  • Made the "Connect Client Info" structure private within the class.
  • Made the "Connect Client Info" structure private within the class. Added additional functionality to "read-only" allow access to this data.
  • Threads are now created in a suspended state then resumed after the creation succeeds.
  • Threads are now created in a suspended state then resumed after the creation succeeds. This was causing some threads to be created which attempted to use their own handles before they were created.
  • Added many new connect overloads.
  • Added many new connect overloads. You can now connect and return to handle client data on your own, have connect spawn a new thread to handle the connection, or have the connect function use the calling thread to block execution.
  • Added and refined new sample code.
  • Added and refined new sample code, now includes a bench marking application and a simple console chat application.
  • Moved TCP Pump thread event handle to the class.
  • Moved TCP Pump thread event handle to the class. This makes the class much safer for multi-instance per-application use.
  • Brought back "Raw Mode" method of operation.
  • "Raw Mode" can be set at either the overall class or the client level by calling either PacketMode(true) or PacketMode(Client Number, true).