Technology can affect warfare a lot. The result of a war depends mostly on the scale of the armament. People can't improve armament without technology. Sometimes when technology improves, people can find a new way to make a new kind of armament.
Warfare can also affect techonology. For warfare, people have to have better armament to beat enemy. So they will try to make advances on technology. At the same, warfare causes invalids. people need some faster and more convenient ways to save them. So iatrology is improved.
China, Korea and Japan were beaten by wester countries because they didn't have cannons. America made Japan surrender because they had A-bomb.
And since World War II, radar started to be used and developed.