response to tumor necrosis factor [GO_0034612] - Virtual Fly Brain