Does anyone know where can I find a simple client/server WinAPI message queue example?
I’d like to create a program that sends data from a client to a server using message queues and I can’t find anything useful on the web.
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
WM_COPYDATAmessage can be used, but only synchronously. Without usingMSMQ, you’d have to implement your own message queue using named shared memory & named semaphores for asynchronous queues.