Hi,

I need a way to do this:

One server thread has to read a message from a client thread.

The client will send the message to a queue and the server thread will read from this queue.

The message being sent will contain: (3 different things)
1-ID of Client
2- the Operation GET (whatever that is, haven't figured out yet)
3-Number of resources being requested.

How is the server supposed to read this? The server can only read from that one Queue. Do I have to make it so that each element in this queue contains 3 different things? or ...

or.. did I just completely misunderstand the project lol. I have no idea how the coding will look either. Please help me get started and help me understand the concept.

all of those three things can quite easily be coded into the message of a single packet.