Bond_009
236dd650d0
Update projects to .net7
2 years ago
Bond_009
1d018c5575
SocketFactory: Remove redundant code
...
ExclusiveAddressUse should be false by default afaik
3 years ago
Cody Robibero
10d52d16a8
Fix invalid cref ( #7277 )
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
cvium
b50c3852ef
Remove unused dependencies
3 years ago
Bond_009
474b035d99
Fix some warnings
3 years ago
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
3 years ago
KonH
e3fccd5ae6
Fix warning: Qualifier is redundant ( #2149 )
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Fernando Fernández
3d0b1ccae6
Remove all unused usings
3 years ago
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
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>
4 years ago
Bond-009
f4a59c92e6
Merge pull request #5826 from BaronGreenback/ssdpFix
...
PlayTo Fix: Use external ip not internal interface
4 years ago
BaronGreenback
3199d1c902
Fix: PlayTo using external ip not internal
4 years ago
cvium
610a30d791
Do nothing in timer callback when device locator is disposed
4 years ago
BaronGreenback
7a6063ed41
Merge branch 'master' into NetworkPR2
4 years ago
Greenback
9a323f6df0
More spelling corrections.
4 years ago
BaronGreenback
d66f88672c
Merge branch 'master' into NetworkPR2
4 years ago
crobibero
dae4541bad
Merge remote-tracking branch 'upstream/master' into dotnet-5
4 years ago
Bond_009
ff49a3bb61
Missed some stuff
4 years ago
crobibero
83629ab6f2
Update packages to net5
4 years ago
Greenback
83af636c61
Updated with new NetManager
4 years ago
Greenback
ec57eeff2b
Updated to latest version of code.
4 years ago
Jim Cartlidge
53af1e3455
Updatig netcollection & re-inserting BOM
4 years ago
Jim Cartlidge
5edf24db5c
Updated to master
4 years ago
Bond_009
2dbf73b989
Minor improvements
4 years ago
Jim Cartlidge
38b8110a3e
Removing blank lines.
4 years ago
Jim Cartlidge
b44455ad0d
Update based on PR1 changes.
4 years ago
Jim Cartlidge
9ef79d190b
Large number of files
4 years ago
Bond_009
2b355c36ff
Minor improvements
...
OFC I reduced some allocations
4 years ago
BaronGreenback
2272363197
Update SsdpCommunicationsServer.cs
4 years ago
BaronGreenback
27f6e1ddc8
Update SsdpCommunicationsServer.cs
4 years ago
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.
4 years ago
BaronGreenback
c07d8abfd5
Removed debugging info
4 years ago
BaronGreenback
5b0c182908
Added logging and broadcast = true
...
Not intended for merge into the fork.
4 years ago
Cody Robibero
43221fc26b
Merge branch 'master' into SSDP
4 years ago
telans
6556bec646
brace multiline if statements (cont.)
4 years ago
telans
5bb639a59a
newlines after braces
4 years ago
telans
7f307f9082
brace multiline if statements
4 years ago
telans
98db8f72e0
fix SA1503 for one line if statements
4 years ago
telans
8e3d874802
remove regions
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
Bond-009
af93ec750c
Enable TreatWarningsAsErrors for more projects
4 years ago
BaronGreenback
8a69300bf5
Changes styles as suggested by @barronpm
...
Added addtional comments & source type as per intellisense suggestion
change code as per sonacloud
5 years ago
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
5 years ago