Handle communication priority for client with two connections
Hi,
I'm writing a server where I have to accept connection on two ports, 2 Socket for each client.
One socket have more priority than the other, and the two of them will write on the same file.
How can i make an architecture with the less threads possible(A lot of client, perhaps 600), and be sure that while i have messages on the priority socket, i give it the priority to right on the file.
best regards.