Sitelet https://github.com/SharpAdb/AdvancedSharpAdbClient/issues/72
Skip to content

ExtendedSocketException #72

Description

@RAREGUN

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

  1. 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

Activity

  1. wherewhere commented on Sep 9, 2023

    @wherewhere
    Member

    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连接过多,导致端口耗尽的解决

  2. added theissue type on Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions