11 years, 9 months ago
Highlights
It still sounds like your current implementation cannot handle the case where the TCP stream diverges from what you expect. That is, if you send two 4-byte messages, like send(A…
11 years, 9 months ago
11 years, 9 months ago
The idea is to implement server socket to handle multiple clients. Multiple clients are running forever. Existing architecture is to be having separate thread for each client. N…
11 years, 9 months ago
We still don't really understand much about the actual server logic, just how the networking is done. For example, if "process the data" requires extensive locking other server…
11 years, 9 months ago
11 years, 9 months ago
Latest Activity
See all in DiscussionsIt still sounds like your current implementation cannot handle the case where the TCP stream diverges from what you expect. …
11 years, 9 months ago
We still don't really understand much about the actual server logic, just how the networking is done. For example, if …
11 years, 9 months ago
1. socket,bind,listen 2. create thread pool having 4 threads (machine has 4 cores). Threads are consumers who are waiting …
11 years, 9 months ago