Kittyfisto / SharpRemote

A .NET remoting library
MIT License
12 stars 5 forks source link

Add log statement when a service discovery socket is removed for a particular interface #40

Closed Kittyfisto closed 7 years ago

Kittyfisto commented 7 years ago

At work, we can see that sockets for the same interface are created in rapid succession:

2017-11-14 14:55:09,874 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:09,907 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:09,938 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:09,968 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:09,998 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,027 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,057 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,089 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,122 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,151 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,181 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,214 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,245 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,276 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,309 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,340 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,375 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,408 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,442 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,474 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,503 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,533 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,563 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,592 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,622 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,651 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,682 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,712 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,743 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,776 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,809 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,841 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,876 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,908 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,938 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,968 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:10,997 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:11,027 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:11,057 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:11,086 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW 2017-11-14 14:55:11,115 [ 96] INFO ServiceDiscoveryAnySocket Created service discovery socket for 192.168.3.1@TSMW

It'd be nice to see when they're removed as well as the reason for its removal, if at all possible.

Kittyfisto commented 7 years ago

Will be available with next nuget release