robertsdotpm / p2pd

Asynchronous P2P networking library and service
MIT License
47 stars 2 forks source link

link-local and global scope #10

Open robertsdotpm opened 8 months ago

robertsdotpm commented 8 months ago

when a socket binds to global scope and connects to a listening link local server on the same machine (on windows) it seems that the connection still succeeds but data transfer between them is impossible. This makes sense based on what link-local is but the edge-case should throw an exception. Listening on link-local to talk to link local works though.

robertsdotpm commented 2 months ago

other rule: bind to interface a -> connect to interface b = fail. Detect these edge cases and throw exceptions

robertsdotpm commented 2 months ago