开发者

AutoDisovery is selecting the wrong network interface

I wrote a simple application using REALBasic

The issue is that AutoDiscovery is binding to the wrong interface. The machine开发者_如何学C has 1 physical and two virtual NIC cards.

The virtual ones are there because of VMWare

How can I bind to the physical card?


Are you looking at the available interfaces using NetworkInterface? You should be able to list and select the available interfaces.

You should then be able to set the Socket.NetworkInterface property since the AutoDiscovery class is a sub of the SocketCore class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜