 |
 |
|
 |
|
|
Version
1.0.2.8
released on
11/6/2008
|
|
Files available with this release: 1
|
- 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).
|
Version
1.0.2.7
released on
11/2/2008
|
|
|
- Fixed memory leak caused by CreateThread()
- Fixed memory leak caused by CreateThread(), this was resolved by using _beginthreadex().
- Changed all functions to use a custom dynamically sizing type for their buffers.
- Changed all functions to use a custom dynamically sizing type for their buffers. While this could increase server memory usage, it makes the socket server extremely safe.
- Send receive buffers are now automatically allocated for each thread.
- Added "max inactivity" timeout.
- Added "max inactivity" timeout. Peer will be automaticly disconnected after x seconds.
- Added many new events (delegates) that allow complete control over connection / data flow.
- Added many new events (delegates) that allow complete control over connection / data flow.
Some of which include:
OnAccept
OnAcceptConnect
OnAfterDePacketize
OnAfterPacketize
OnBeforeDePacketize
OnBeforePacketize
OnConnect
OnRecv
OnSend
OnStart
OnStop
ClientHandlerThread
OnBeginClientThread
OnDisconnect
OnEndClientThread
OnError
- Added internal memory handling.
- Added internal memory handling. Can also be used with the CMemoryPool class.
- Added generic pointers within the class and for each client connection.
- Added generic pointers within the class and for each client connection, for you programming convenience.
- The socket server will now handle graceful and forceful (if necessary) disconnection of existing connection on class shutdown.
- Various contention & thread locking tweaks / fixes.
- Removed raw mode functionality, the class is now completely proprietary packet driven.
- Lots of code review, comments and various bug fixes.
|
Version
1.0.2.6
released on
2/25/2008
|
|
|
- Revised comments and included full working source code example.
- Revised comments and included full working source code example. If you have any trouble compiling, please let us know!
- Major code revision from last release.
- Major code revision from last release. The majority of the class has seen reworks and improvements. The class is now much more self documenting and easier to use.
- The class is now reusable.
- The class is more extendable and can now be reused in many projects without modifying the class itself.
|
|
|
|
|
|
Copyright © 2023 NetworkDLS. All rights reserved.
|
|
|
|
|
|
|
|
|