lemunozm / message-io

Fast and easy-to-use event-driven network library.
Apache License 2.0
1.11k stars 74 forks source link

tcp: listener: Add bind_device option #158

Closed kgraefe closed 1 year ago

kgraefe commented 1 year ago

Sorry to bother you again. It turns out my testing was not sufficient and I need an option to bind the listener to a specific interface as well, when I have multiple interfaces in the same (link-local) subnet. Otherwise the Linux kernel tries to send the TCP SYN/ACK on whichever interface was present first even when it received TCP SYN on the other interface. :-\ Therefore a TCP connection cannot be established.

lemunozm commented 1 year ago

You don't bother me at all! Thanks for making message-io better with your contributions 🤗

kgraefe commented 1 year ago

May I ask you to make another release?

lemunozm commented 1 year ago

Done! it's v0.17.0