Topic: Flow on a socket or epoll
https://stackoverflow.com/q/47440302/1746434 Application-client accepts the data from two ports of one server. Speed of a flow small, nearby 2Kb/with that is strong less throughput of network connection of the client. The processor on the client modern ARMv7 or x86-64. That it is better concerning saving of resources of the client: 1. To launch one flow and to wait through epoll. At data accessability to read in not locked a mode both sockets by turns (if both are accessible). 2. To launch on a flow on a socket and to read in a locked mode. How to calculate in the second variant possibility of loss of the data. How generally to calculate possibility of loss of packet UDP if the data gets from the buffer too late? Whether the rights I, what if the person are not present a difference, launching one flow, OS resources as there is no superfluous switching of a context are saved?