开发者

network routing paths for different tcp channels but for same machines

Process1 runs in machineA. Process1 has opened server portX.

Process2 runs in machineB. Process2 has opened server portY.

Process1 & Process2 exchange messages over 2 different tcp channels.

Process1 opens client socket to portY of machineB and start sending msgs to Process2.  (tcp channel 1)
Process2 opens client socket to portX of machineA and start sending msgs to Process1.  (tcp channel 2)

Question:

Is the network path the same for channel1 & channel2 in all cases? I.e. go through same routers etc?

UPDATE:

I need this informati开发者_如何学Goon to make some decision concerning synchronization of processes (so that 1 process is not faster than the other

Thanks


There is no guarantee about it. Is this related to your other question about interleaving?


Think about this: If the path between two system is always the same ... why should someone cared about designing routing protocols.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜