Skip to content

What about UNSUPPORTED required packages and WHERE is SocketAsyncEventArgs defined? #9654

Open
@zzzato

Description

@zzzato

Hi, all.
I'm searching information about async socket connections and I found this example but I've trouble while using it in vs2022 community.

  1. Adding REQUIRED reference "System.Net.Sockets.dll" nuget manager doesn't shows download option so I changed it in "runtime.win.System.Net.Sockets"
    Is it is correct?

  2. I get error "SocketAsyncEventArgsPool not found...".
    MSDN says that is in System.Net.Sockets.dll but I removed it due to previous point.
    So, WHERE IS SocketAsyncEventArgsPool?

  3. I get error "CS0144 Cannot create an instance of the abstract type or interface 'BufferManager' " on this line:

m_bufferManager = new BufferManager(receiveBufferSize * numConnections * opsToPreAlloc...

Please, let me understand. :-)

Thanks in advance for any answer.

AS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.Net.SocketsuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions