Handbook
Glossary
tcp-echo
Vocabulary
benchmark
.
tcp-echo0
Definition
USING:
io.servers
;
IN:
benchmark.tcp-echo0
TUPLE:
tcp-echo
<
threaded-server
#times #bytes
;
Methods
USING:
accessors
benchmark.tcp-echo0
io.servers
kernel
math
;
M:
tcp-echo
handle-client*
[
#times>>
]
[
#bytes>>
]
bi
[
test-bytes
write-read
]
curry
[
times
]
2curry
call
;