I have written an application ( called M2 ) which reads data arriving on one port, processes it, then sends the results out to another port.
If I choose to send data to 193.168.1.101:5001 everything works.
If I send to 192.168.1.101:5001 it does not. Why should changing the first byte of the IP address make any difference?
The reason for the change is that when I trasmit a packet to 193.168.1.101:5001 then it takes about a millisecond, but when I transmit to 192.168.1.101:5001 it takes over a second. This thousand-fold change in timing messes up everything else in my program - in particular reader starvation sets in and I start losing input packets.
What would cause such a drastic change in transmission time? Note that the transmission does not fail, it just takes an extremely long time.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…