Event loop and TCP network.