AdvancedSharpAdbClient
AdvancedSharpAdbClient copied to clipboard
ExtendedSocketException
Describe the bug
After a long (about two hours) work with 6 devices at the same time, everything stops working and exceptions begin to be thrown:
System.Net.Internals.SocketExceptionFactory+ExtendedSocketException: An operation on a socket could not be performed
because the system lacked sufficient buffer space or because a queue was full. 127.0.0.1:5037
Please tell me what could be the solution to my problem?
Steps to reproduce the bug
- Long work with the library
Expected behavior
No response
Screenshots
No response
NuGet package version
2.5.7
.NET Platform
.NET 7
Platform type
Windows
System version
ReviOS 11 23.03
IDE
Rider 2023
Additional context
No response
I have no idea. It seems because the port is all be using. Since some of connection is not close currently and then the port has be occupied. Exception: system lacked sufficient buffer space or because a queue was full? windows连接过多,导致端口耗尽的解决