10 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 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 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 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 079be38153 fix close handling and introduce server class 11 years ago
Georg Hopp df3b337f2c update testserver 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 b85024ba2b bind automatically and set socket to nonblocking. Add testcode. 11 years ago