Hi I'm creating a socket server in Linux using pthreads. I was just wondering, how does the server send specific messages to its clients (for instance, a PM) if each is in its own standalone thread?
Recommended Answers
Jump to PostWell you could easily acomplish that by using some Linux C functions:
send: Click Here (also in your terminal man send)
recv: Click Here (also in your terminal man recv)Here's …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.