1
Answer

Udp sockets

ninja

ninja

16y
7.3k
1
I need to send a large number of UDP pakets ~ 8000/s at 540bytes(header included). The problem is only capures 197 frames (the buffer size) and then my computer almost freezes. Any ideeas what's to do?
Here is the source code internal void OnReceive(IAsyncResult ar) { serverSocket.EndReceive(ar); frames++ serverSocket.BeginReceive(byteData, 0, 540, SocketFlags.None, new AsyncCallback(OnReceive), null); } why the hell can't i insert a linefeed>
Answers (1)