Is proper WCF TCP message order guaranteed for multiple send threads?

There is one WCF connection using TCP. Two threads on the server are written to this connection sequentially. Is it always guaranteed that the first message is first processed by the client? In my opinion, this should be guaranteed.

+3
source share
3 answers

The "channel" is consistent, so I think the answer here is "Yes."

But with 2 (independent) threads, the value of the "first" is undefined.

+2
source

I think that the question of Henk (what is meant by the "first" thread) is very interesting.

, , , Thread A Send() Thread B, Thread B ?

, , Thread B .

+1

, , . WCF , ?

, TCP . , . .

0

Source: https://habr.com/ru/post/1741578/


All Articles