55 Commits (c0b33ec777e8d674c782bbe94a72e6cdec6aa320)
 

Author SHA1 Message Date
Georg Hopp c0b33ec777 try for a threaded server, but not very much luck now. 11 years ago
Georg Hopp c6dd2aa0e8 build separate client for udp 11 years ago
Georg Hopp ea86374952 add udp code into testclient 11 years ago
Georg Hopp d9e22a9a54 small fix 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 93ccec2fef show some information about the bytes per second throughput. Currently I manage around 1.1 GBytes on a loopback device which sounds not to bad, but is only about 1/4 of the throughput iperf shows me... but this might be related to nc... I will see this when I have written my own 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 9b71384dd4 remove debug log 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 b148346924 fix mishandling of accept limit that caused a memory leak. 11 years ago
Georg Hopp fa0a87a0c7 limit amount of accepts in one event to 100. This value might become configurable in future 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 8cab362d2f remove the debug counts 11 years ago
Georg Hopp ed9ff63029 some more fixes 11 years ago
Georg Hopp 473ed763c4 general as well as edge level handling fixes. 11 years ago
Georg Hopp fbbcbc5791 utilize update next poll event functionality from trevent 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 2ee7035dc7 preparation for edge triggerd events and add a small testscript for paralell testing. 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 68bd42e389 fix pass of variable argument list 11 years ago
Georg Hopp 0de9022861 allow variable arguments for response and request generation 11 years ago
Georg Hopp e3ca74d8c5 update README.md 11 years ago
Georg Hopp b217c4d1c1 merge master branch 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 df3b337f2c update testserver 11 years ago
Georg Hopp 2415a8bd39 small fix 11 years ago
Georg Hopp 48ef354366 use explicit event done return type in all handler methods 11 years ago
Georg Hopp 18fcc58723 adapt on separation of issue and emit of events 11 years ago
Georg Hopp dc25918e71 make testserver udp and tcp 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 f79801180c fix leaks, close handling and things. 11 years ago
Georg Hopp 67eaeba4c6 set also the accepted sockets to nonblocking 11 years ago
Georg Hopp b85024ba2b bind automatically and set socket to nonblocking. Add testcode. 11 years ago
Georg Hopp 77070cb16e check firt if we have events at all 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