My socket won't send data to 600 endpoints
My application sends a packet to 600 servers in order to gather data about active players and such.
My old code would use a parallel loop and this worked fine but was incredibly slow.
After removing it my code is much faster, but only 58 out of the 600 servers now return data.
Is there some limitation on how much data a socket can handle at once?
This is the method used. The endPoints array would contain 600 endPoints.
I verified the method only parsed about 58 servers by checking how many of the pending builders actually ende dup getting parsed.
At the bottom you see a loop that checks for pending builders that did not get parsed and this shows the timed out servers.
https://gdl.space/irafuvuvam.cs
My old code would use a parallel loop and this worked fine but was incredibly slow.
After removing it my code is much faster, but only 58 out of the 600 servers now return data.
Is there some limitation on how much data a socket can handle at once?
This is the method used. The endPoints array would contain 600 endPoints.
I verified the method only parsed about 58 servers by checking how many of the pending builders actually ende dup getting parsed.
At the bottom you see a loop that checks for pending builders that did not get parsed and this shows the timed out servers.
https://gdl.space/irafuvuvam.cs