Make interface binder more verbose.
This commit is contained in:
parent
41e2ab6396
commit
7a3eaf2847
1 changed files with 2 additions and 0 deletions
|
@ -153,11 +153,13 @@ namespace PixelHub.Net
|
|||
|
||||
if(NetworkInterfaceName != string.Empty)
|
||||
{
|
||||
logger.WriteLine("Discovering interfaces.");
|
||||
beacon.Client.SetSocketOption(
|
||||
SocketOptionLevel.IP,
|
||||
SocketOptionName.MulticastInterface,
|
||||
(int)IPAddress.HostToNetworkOrder(NetTools.GetNetworkIndexByName4(NetworkInterfaceName))
|
||||
);
|
||||
logger.WriteLine("Choosing interface with name {0}", NetworkInterfaceName);
|
||||
}
|
||||
|
||||
Active = true;
|
||||
|
|
Reference in a new issue