Skip to content

Incorrect port received #22

@FrostSource

Description

@FrostSource

The port value given in both EndpointDetected and DatagramReceived does not match the port chosen when creating the endpoint in the other app.

I have copied the src/Node/Program.cs example and built it to test.
I open two versions of the exe with endpoints 127.0.0.1 8000 and 127.0.0.1 8001 respectively.
I send a message from both programs to the alternate ports and the message is received/displayed, however the port shown is incorrect.
If I try to send a message to the port shown, nothing will happen.

Here is an image of the above occurring:
WindowsTerminal_6TBBtTEiOI

I am unsure if this is an actual bug or a misunderstanding on my part as I have never done networking before (hence my search for a simple library). If this is intended behavior then how would I go about knowing which port to send to without knowing it before an endpoint is detected?

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