Introduction - If you have any usage issues, please Google them yourself
Through the pre allocation of a certain memory space, and then quickly accept the UDP data, and finally saved to the file. This method avoids the delay caused by the data written to the file, causing the packet loss.