8000 [fw] Windows UDP listener is broken · Issue #149 · named-data/ndnd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[fw] Windows UDP listener is broken #149
Open
@pulsejet

Description

@pulsejet

Windows kernel dispatches all UDP packets to the original (listener) socket, so the faces don't get anything once they've a separate socket.

Possible solution - dispatch to individual faces from the listener socket. This needs to be optimized to allow looking up the face table fast; should be possible with ip-port hash.

E.g. hashmap with ip-port --hashmap--> faceid --facetable--> face --> handleIncomingFrame.

Calling handleIncomingFrame will not have race in this case since the face thread is useless (but need a check for Windows to prevent races on other platforms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    fwYaNFD issues

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0