All Questions
5 questions
4
votes
4
answers
11k
views
Socket client in C using threads
I'm working on socket programming in C. I have no problem with usage the threads. This all works fine but I'm new in this area. I wrote this code in client.c but is there any misused code or something ...
1
vote
1
answer
910
views
Reading socket stream to parse XML, queue messages, run system cmd in thread
I've had great experience in the past getting feedback from uDev and python, but I'm dreading this attempt at C++. I have a little background in C - but absolutely none in C++ - so this code is ...
4
votes
1
answer
2k
views
Simple file server for GET requests
I recently made this simple server in C for Linux systems and was wanting to get another set of eyes on it for a review of the design. I am new to socket programming and used a textbook from school to ...
5
votes
4
answers
22k
views
Multithreaded Client/ Server communication
This is my first network programming codes writing for a client who has the following requirement:
My Server has to run 24*7*365 for multiple clients at the same time (concurrency).
Their Client (...
5
votes
1
answer
115
views
N Processing connect to a single process: Socket Programming
The idea of my program is to use pthreads, semaphores, posix shared
memory, and sockets to create an environment where N processes
(that we will refer to as the children) can connect to a single
...