LiteNetLib icon indicating copy to clipboard operation
LiteNetLib copied to clipboard

Broadcast not working correctly with multiple network interface card

Open jim-kirisame opened this issue 5 years ago • 2 comments
trafficstars

I have two virtual NIC (one Virtualbox and one NPCAP). When they enable, broadcast will not working correctly and another client on the same LAN will not receive the event.

Library version: 0.9.2.2

Framework: Unity

OS: Windows 10

jim-kirisame avatar Jul 18 '20 08:07 jim-kirisame

@jim-kirisame try bind to specific address (address of your network card). To get local address list you can use NetUtils.GetLocalIpList

RevenantX avatar Jul 19 '20 11:07 RevenantX

@RevenantX Would LiteNetLib bind those address internally in the future? Open two or more instance will be hard to manage.

jim-kirisame avatar Jul 19 '20 11:07 jim-kirisame