SFML community forums

Help => Network => Topic started by: tomasK on January 16, 2019, 12:11:52 am

Title: UDP broadcast sent via wrong adapter
Post by: tomasK on January 16, 2019, 12:11:52 am
Hey guys,

I have similar issue like is discussed here https://en.sfml-dev.org/forums/index.php?topic=20779.0 (https://en.sfml-dev.org/forums/index.php?topic=20779.0)
but it's quite old topic and on top of that it was closed as resolved.

But I don't think, it was really resolved. That guy just found some workaround, but disabling other adapters isn't real solution.

In mine case was broadcast mainly sending to Npcap Loopback Adapter.
And then to VirtualBox Host-Only Network.

When I disabled both of them, finally my broadcast was sent to wireless network connection.
I didn't tested it with LAN yet. On other machines without virtual adapters it is working fine.

It seems, that it is bug in SFML where is prioritized virtual adapters during sending broadcasts.
Because other communication is working as expected.

And yes, I'm using windows and SFML 2.4.2.

Anyone encountered with similar issue?
Have you found some software solution?