I’ve been trying to make an async system where both the client and the server can send and receive messages at anytime for some time and I haven’t been able to wrap my head around overlapped io.
I’ve seen the microsoft documentation for overlapped and I understand that it’s basically an event that just can be triggered and we can wait on it, but I don’t understand how to be able to have both programs be able to receive and and send messages at the same time. My server can only send a message after receiving one.