I use some network materials in our project. It was decided that communication is very important, and we want to do it synchronously. Thus, the client sends what the server confirms.
Are there general guidelines for interaction between client and server? For example, if there is no response from the server, should the client automatically try again? Should there be a waiting period before it repeats? What happens if the confirmation fails? At what point will we break the connection and reconnect? Is there any material? I performed a search but nothing happens.
I am looking for best practices in general. I implement this in C # (possibly with sockets), so if there is something .Net specific, then please let me know too.
network-programming
uriDium
source share