© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
43 replies
FusedQyou

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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

can we send extra data in .net8 identity endpoints
C#CC# / help
2y ago
WriteAsync doesn't always send data to all connected clients
C#CC# / help
4y ago
❔ Dotnetty failing to send data to server
C#CC# / help
3y ago