Talk:Echo server: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 17: | Line 17: | ||
== Java example == |
== Java example == |
||
I tested the Java example on Ubuntu; correctly handled 1000 parallel clients and empty lines, but a `cat /dev/random | nc localhost 12321` broke it. Should it be considered OK or not? --[[User:Silverweed|Silverweed]] ([[User talk:Silverweed|talk]]) 14:38, 3 September 2014 (UTC) |
I tested the Java example on Ubuntu; correctly handled 1000 parallel clients and empty lines, but a `cat /dev/random | nc localhost 12321` broke it. Should it be considered OK or not? --[[User:Silverweed|Silverweed]] ([[User talk:Silverweed|talk]]) 14:38, 3 September 2014 (UTC) |
||
== C++ example == |
|||
It would be nice to see a C++ example on here. Yes, I know of the POSIX sockets. However, seeing as the Boost library is more or less |
|||
the "unofficial" standard library and Boost.Asio takes care of the platform dependent work (ie. WinSock, POSIX) I believe it to be beneficial to have an example of that, or obtain permission to use the C++11 example from Boost's docs, which uses lambda functions. |