Skip to content

notification and correct disposal of resources on socket close #1

@robertmircea

Description

@robertmircea

I've downloaded the library and played a little bit with the test project (I've disabled all the code not related to sockets). The code still compiles and works with the last version of libuv. I am interested in a high performance implementation of a TCP server using libuv/mono on Linux - on Windows I will use the native *Async methods in the socket class. In the lib code I've noticed no mechanism to be notified in the TCPSocket class when a socket closes the connection. The code in method on_close is commented out.

Do you have any hints on how to can I make sure that my TCPServer is notified when a connection is closed gracefully or when it gets dropped? How can I make sure that all resources are disposed properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions