33 Commits (f71cac22a3dc7ce41c180776124ec52bac46caa4)

Author SHA1 Message Date
Georg Hopp f71cac22a3 fixes and additions for threaded code 11 years ago
Georg Hopp c0b33ec777 try for a threaded server, but not very much luck now. 11 years ago
Georg Hopp c4de22c348 Make the raw protocol to a real protocol. It sends the message size now before the message. This was neccessary because after I activated optimization in gcc the testclient was always only reading 2 bytes in the initial successfull read. 11 years ago
Georg Hopp 42d139f31e Some fixes and adaptations on changes trevent code. Add a simple echo client. 11 years ago
Georg Hopp b7d8300295 increase read block size to 128 KB 11 years ago
Georg Hopp a3f209e521 fix some memory leaks 11 years ago
Georg Hopp 171d597994 Disable read completely when write is failing and buffer is full. Don't add endpoints to read or write when they are already in fin state. 11 years ago
Georg Hopp e3a6d0e919 change the whole thing to be more edge triggered no matter wich poll method is used. In fact this works now with edge triggered epoll 11 years ago
Georg Hopp 4a64f7dd36 completely drop edge triggerd behaviour as I don't see any real benefit in it and it makes things unnessecary complicated. 11 years ago
Georg Hopp 5210036335 generally epoll is working... sadly I removed the is_writing flag in the CommEndPoint which was neccessary... I have to add it again. 11 years ago
Georg Hopp 473ed763c4 general as well as edge level handling fixes. 11 years ago
Georg Hopp 82b4cb57ed add epoll communication manager 11 years ago
Georg Hopp 2885147eef finish edge level trigger for socket notification 11 years ago
Georg Hopp 7c8fcd3b9b add max handle to limit the amount of handles to check. 11 years ago
Georg Hopp 9e7b137d7b make create response and request also callable vith an va_list argument. 11 years ago
Georg Hopp 0de9022861 allow variable arguments for response and request generation 11 years ago
Georg Hopp b84e10694f simplify server interface 11 years ago
Georg Hopp f3ee0d7e02 add datagram entry point class 11 years ago
Georg Hopp 079be38153 fix close handling and introduce server class 11 years ago
Georg Hopp 2c3acbb3a9 some more small fixes 11 years ago
Georg Hopp 48ef354366 use explicit event done return type in all handler methods 11 years ago
Georg Hopp ec07940a32 add DatagramService which is pretty much the same as Connection... they probably should be unified. 11 years ago
Georg Hopp 67dee2737c add missing includes and fix one class initialization 11 years ago
Georg Hopp 4b2d9eb0da fix some names and adapt to fixed PARENTCALL 11 years ago
Georg Hopp b290c2eb19 some more fixes 11 years ago
Georg Hopp 449041ae1f add io handler 11 years ago
Georg Hopp a2bef3917a buffered read and write 11 years ago
Georg Hopp 3b4c855a59 add protocol handler 11 years ago
Georg Hopp d738e59156 fixes to make the code compile 11 years ago
Georg Hopp 31b1b404c6 add communication manager. These are the things that do poll, select, waitformultipleobjects or whatever. 11 years ago
Georg Hopp 5cfb6cd293 add connector and conn_entry_point and do some modifications 11 years ago
Georg Hopp 8180119937 add connector 11 years ago
Georg Hopp d8979d7adf new communication layer...enables easy creation of either tcp or udp servers and clients when it's finished 11 years ago