M
Markus Freitag
Guest
Hello!
I have a socket connection to a server.
My application is the client and requests the server. There are about 6 different requests.
The requests and the answers are clear, but do not have an ID that allows an assignment to the answer.
For these 6 requests, another request can be made at an indefinite point in time, which also receives an answer.
The requests and answers are synchronous.
What options do I have if there is another new request between the 6 requests?
Request1 -->
<-- Response1
Request2 -->
<-- Response2
Request3 -->
<-- Response3
Request Inquiry indefinite -->
<-- Response indefinite
Request4 -->
<-- Response4
Request5 -->
<-- Response5
Request6 -->
<-- Response6
I can only make the request when I have an answer. If I don't have an answer, I can't ask the new question until I get the answer.Then I have to wait. What solutions are there? Can anyone create an example? Thank you for your help in advance.
Many greetings Markus
Continue reading...
I have a socket connection to a server.
My application is the client and requests the server. There are about 6 different requests.
The requests and the answers are clear, but do not have an ID that allows an assignment to the answer.
For these 6 requests, another request can be made at an indefinite point in time, which also receives an answer.
The requests and answers are synchronous.
What options do I have if there is another new request between the 6 requests?
Request1 -->
<-- Response1
Request2 -->
<-- Response2
Request3 -->
<-- Response3
Request Inquiry indefinite -->
<-- Response indefinite
Request4 -->
<-- Response4
Request5 -->
<-- Response5
Request6 -->
<-- Response6
I can only make the request when I have an answer. If I don't have an answer, I can't ask the new question until I get the answer.Then I have to wait. What solutions are there? Can anyone create an example? Thank you for your help in advance.
Many greetings Markus
Continue reading...