The constant growth of Internet of Things traffic is ensured by the ongoing evolution of the hierarchy of all hardware links of sensor networks. At the same time, the implementation of the Edge computing ideology regulates the complexity of the “first-mile” section (from the sensors array to the peripheral server). Here, the authors suggest paying attention to the growing share of massive traffic from target sensors in the total traffic of the sensors array. This circumstance makes it expedient to introduce an additional link to the peripheral server for summarizing massive traffic from target sensors. The authors present a sensor network end IoT device (SNEIoTD), implemented grounded on a reliable and cheap Raspberry Pi computing platform, as such a link. The introduction of this SNEIoTD makes it possible to reduce the probability of information loss from the critical infrastructure of a smart city and increase the flexibility of controlling the massive traffic of the first mile. In this context, the urgent task is the reliable control of information transfer from the SNEIoTD environment to a hub, which the authors formalize based on Transmission Control Protocol (TCP). This article proposes a mathematical model of the interaction of the main mechanisms of the TCP in the form of a queuing system. As part of this model, a semi-Markov process of an information transfer with a unified speed is selected and its stationary distribution is analytically formalized. A computationally efficient information technology for determining the TCP Window Size is formulated, taking into account the interaction of TCP mechanisms in the process of massive traffic control. Using the example of TCP Westwood+ protocol modification, it is shown that the results of the application of information technology permit increases in the stability of data transfer under the circumstances of increasing Round-Trip Times.