9 Commits (424297cd5714c08b7916978376d211ec88a5cd24)

Author SHA1 Message Date
Georg Hopp 424297cd57 now when a constructor returns -1 the new call will in turn call the destructor effectively freeing all resources. ATTENTION: now the destructor has to be aware that it might be called with a not completely initialized object. To make this more ease there is the FREE makro with the corresponding ffree that does NULL pointer checking and the destructor checks for NULL pointer too. Additionally the handle_accept now handles _SC_OPEN_MAX - 10 connections. The 10 are reserved for internal usage. 14 years ago
Georg Hopp 063189e664 changed /**/ single line comments to // 14 years ago
Georg Hopp b38d402250 start documenting this whole stuff...well at least add a copyright information in each file 14 years ago
Georg Hopp bf6a341b4c changed header hashing to use btree (GNU only). @TODO: make this conditional for other systems. Removed the qsort calls on server->fds making O(2nlogn) to O(n) 14 years ago
Georg Hopp 05a7a386fa fixed some warnings 14 years ago
Georg Hopp 228b1d0d29 changed request handling. @TODO: I still seem to have the problem that the file handles are not closed and freed correctly as the service refuses connections after about a 1000. 14 years ago
Georg Hopp 2d6305c3d6 changed class tool. Now multiple interface per class are supported as well as simple inheritence. 14 years ago
Georg Hopp c6635e3904 more work on socket handling stuff... @TODO think about renaming it to connection as it only handles TCP sockets 14 years ago
Georg Hopp d2848c0b14 add info text about file handle passing and ported more stuff from my old server structure 14 years ago