I need some PHP code converted to C++ code for a linux system (CentOS 4).
Involves arrays, sockets, and multithreaded.
It's basically a daemon that recieves input, stores some variables in an array, counts the values in the array, and returns the count.
A very simple project if you are familiar with PHP coding and C++ coding.
PHP code attached.