ubus: add count test to validate large message sizes
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 27 Jun 2014 16:11:45 +0000 (19:11 +0300)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 3 Jul 2014 10:47:11 +0000 (12:47 +0200)
commitaf63ab64af10798468ca1453de2360fcda44aab9
tree28e373503f28f666ef038096dfc8ce6c15df1da8
parentf47005a44ca63fd882ce24b16ebfba39f81f0ba7
ubus: add count test to validate large message sizes

Client creates a string "1 2 3 ... 10000 ...", sends it to the server
along with the maximum number in the string.

Server creates another string like the client sent.

It validates it and, returns strcmp()'s result.

This is loop-ed every 2 seconds.
examples/CMakeLists.txt
examples/client.c
examples/count.c [new file with mode: 0644]
examples/count.h [new file with mode: 0644]
examples/server.c