NetClass is a multi-platform library written in C++ that provides a thin wrapper around sockets (TCP/UDP) and thread implementations. The library also contains code for writing a generic server application easily with a simple interface.
Be the first to post a text review of NetClass. Rate and review a project by clicking thumbs up or thumbs down in the right column.
NOTE: *bsd refers to OpenBSD and FreeBSD only (as tested). - added better usage of detected thread package for *bsd - *bsd compilation fixes due to improper type definitions - allow ncMutex to be useable on *bsd
- fixed a bad accumulation bug in readData/writeData methods that could return the incorrect value in numActualBytes argument if passed in - fixed several cases in readData/writeData where a timeout occurs, but the code would return NC_MOREDATA erroneously instead of NC_TIMEDOUT (fixed in both 'select' and 'poll' code) - changed poll constants from POLLRDNORM to POLLIN and from POLLWRNORM to POLLOUT in the poll calls - updated ncdebug and ncarch to include iostream and appropriately prefix the cout call with the namespace std:: - added a check for poll errors and now we properly return NC_FAILED in that case - code is now properly gcc-3.x compliant - Added compilation support on the following platforms: Apple OS X [ppc], FreeBSD [x86 with native make (not gmake)] - Added GNU/Linux compilation support on the following architectures: alpha, sparc, arm
Changed headers so that no header (except for netclass.h) include any other header files. Also properly close the win32 thread handle by calling CloseHandle when it's no longer needed. Added a pthread_join after cancelling a thread in the stop method for non win32 platforms. Also removed the version functions from the NetClass class since they're not working properly.
New in netclass-0.3.0 ===================== Much heavier use of the autoconf/automake tools from library emission, proper installation support, and proper distribution generation. Compiling and installing netclass: ---------------------------------- ./configure && make && make install Standard compilation and installation options are now properly supported. For more information and notes on this release, please see http://netclass.sourceforge.net
- Tinkered with configure scripts - Changed compile time flags to -O3 and -Wall (makes the resulting lib size drastically reduced; now it is about 15KBytes) - Added an ncThread::testCancel method for platforms that support test cancel operations - Added an ncThread::exit method for platforms that support thread exit operations
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?