Bond_009
236dd650d0
Update projects to .net7
2022-12-07 16:42:05 +01:00
Bond_009
1d018c5575
SocketFactory: Remove redundant code
...
ExclusiveAddressUse should be false by default afaik
2022-03-08 22:20:43 +01:00
Cody Robibero
10d52d16a8
Fix invalid cref ( #7277 )
2022-02-06 22:21:17 +01:00
cvium
b880dc8a4a
Use our own Contains extension
2021-12-20 13:31:07 +01:00
cvium
b50c3852ef
Remove unused dependencies
2021-11-16 12:24:17 +01:00
Bond_009
474b035d99
Fix some warnings
2021-11-15 15:57:07 +01:00
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
2021-10-03 11:05:18 +07:00
KonH
e3fccd5ae6
Fix warning: Qualifier is redundant ( #2149 )
2021-10-03 11:01:40 +07:00
Bond_009
13fbfe6091
Target net6.0
2021-09-24 20:15:46 +02:00
Fernando Fernández
3d0b1ccae6
Remove all unused usings
2021-09-06 21:15:30 +02:00
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-07-30 09:49:28 +02:00
cvium
42a2cc1747
Remove some unnecessary allocations
2021-05-24 00:30:41 +02:00
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? ( #5845 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-05 13:51:14 +02:00
Bond-009
f4a59c92e6
Merge pull request #5826 from BaronGreenback/ssdpFix
...
PlayTo Fix: Use external ip not internal interface
2021-04-25 18:51:11 +02:00
BaronGreenback
3199d1c902
Fix: PlayTo using external ip not internal
2021-04-15 18:36:47 +01:00
cvium
610a30d791
Do nothing in timer callback when device locator is disposed
2021-03-03 15:13:43 +01:00
BaronGreenback
7a6063ed41
Merge branch 'master' into NetworkPR2
2020-11-21 00:35:53 +00:00
Greenback
9a323f6df0
More spelling corrections.
2020-11-18 13:46:14 +00:00
BaronGreenback
d66f88672c
Merge branch 'master' into NetworkPR2
2020-11-16 16:27:37 +00:00
crobibero
dae4541bad
Merge remote-tracking branch 'upstream/master' into dotnet-5
2020-11-15 11:56:35 -07:00
Bond_009
ff49a3bb61
Missed some stuff
2020-11-14 20:28:15 +01:00
crobibero
83629ab6f2
Update packages to net5
2020-11-10 09:52:34 -07:00
Greenback
83af636c61
Updated with new NetManager
2020-10-31 18:21:46 +00:00
Greenback
ec57eeff2b
Updated to latest version of code.
2020-10-30 14:06:11 +00:00
Jim Cartlidge
53af1e3455
Updatig netcollection & re-inserting BOM
2020-10-04 09:56:33 +01:00
Jim Cartlidge
5edf24db5c
Updated to master
2020-09-24 15:34:30 +01:00
Bond_009
2dbf73b989
Minor improvements
2020-09-16 14:16:44 +02:00
Jim Cartlidge
38b8110a3e
Removing blank lines.
2020-09-14 15:55:25 +01:00
Jim Cartlidge
b44455ad0d
Update based on PR1 changes.
2020-09-14 15:46:38 +01:00
Jim Cartlidge
9ef79d190b
Large number of files
2020-09-12 16:41:37 +01:00
Bond_009
2b355c36ff
Minor improvements
...
OFC I reduced some allocations
2020-08-03 20:32:45 +02:00
BaronGreenback
2272363197
Update SsdpCommunicationsServer.cs
2020-06-26 15:24:46 +01:00
BaronGreenback
27f6e1ddc8
Update SsdpCommunicationsServer.cs
2020-06-26 15:22:39 +01:00
BaronGreenback
f01baad05e
Sending multicasts out of Sockets without setting the broadcast to true - causes the error "Bad value for ai_flags" on some systems ( #3404 )
...
The underlying cause looks to be https://github.com/dotnet/runtime/issues/28630 .
Basically, it's an access denied bug.
It looks like multicasts need the same access rights as broadcasts on some systems.
2020-06-24 17:23:16 +01:00
BaronGreenback
c07d8abfd5
Removed debugging info
2020-06-24 17:11:02 +01:00
BaronGreenback
5b0c182908
Added logging and broadcast = true
...
Not intended for merge into the fork.
2020-06-24 14:31:17 +01:00
Cody Robibero
43221fc26b
Merge branch 'master' into SSDP
2020-06-20 15:33:13 -06:00
telans
6556bec646
brace multiline if statements (cont.)
2020-06-20 21:19:16 +12:00
telans
5bb639a59a
newlines after braces
2020-06-20 21:13:48 +12:00
telans
7f307f9082
brace multiline if statements
2020-06-20 21:12:36 +12:00
telans
98db8f72e0
fix SA1503 for one line if statements
2020-06-20 20:35:29 +12:00
telans
8e3d874802
remove regions
2020-06-20 18:20:33 +12:00
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
2020-06-16 11:54:58 +02:00
telans
247f9c61e6
fix SA1513/SA1516
2020-06-16 16:11:30 +12:00
telans
9018f8d8be
Add full stop at end of comments (SA1629)
2020-06-16 10:37:52 +12:00
telans
3d9049ef08
fix SA1508
2020-06-15 10:45:55 +12:00
telans
acd4389653
fix SA1005
2020-06-15 10:41:00 +12:00
Bond-009
af93ec750c
Enable TreatWarningsAsErrors for more projects
2020-06-03 13:22:40 +02:00
BaronGreenback
8a69300bf5
Changes styles as suggested by @barronpm
...
Added addtional comments & source type as per intellisense suggestion
change code as per sonacloud
2020-04-29 12:24:01 +01:00
BaronGreenback
ebd589aa86
Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored.
...
Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below).
Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3)
All these changes are related.
Changes
1 IsInPrivateAddressSpace - improved subnet code checking
2 interfaces with no gateway were being excluded from SSDP blasts
3 filtered SSDP blasts from not LAN addresses as defined on the network page.
4 removed #986 mod - as this was part of the issue of #2986 . Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP
5 fixed a problem where an invalid LAN address causing the SSDP to crash
6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-04-28 21:57:39 +01:00