aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Net/SocketFactory.cs
AgeCommit message (Collapse)Author
2023-11-30Move SocketFactory to Jellyfin.NetworkingPatrick Barron
2023-11-15Remove DLNA socket codePatrick Barron
2023-10-12Merge branch 'master' into fix-resharper-warningsStepan Goremykin
# Conflicts: # Emby.Server.Implementations/Net/SocketFactory.cs # RSSDP/SsdpCommunicationsServer.cs # RSSDP/SsdpDeviceLocator.cs # RSSDP/SsdpDevicePublisher.cs
2023-10-11Refactor URI overrides (#10051)Tim Eisele
2023-10-08Remove conditional access when it is known to be not nullStepan Goremykin
2023-10-07Remove redundant castStepan Goremykin
2023-02-17Fix interface address assignment and resolution in SSDPShadowghost
2023-02-17Replace ISocket and UdpSocket, fix DLNA and SSDP binding and discoveryShadowghost
2023-01-19Apply review suggestionsShadowghost
2022-12-13Apply review suggestionsShadowghost
2022-10-07Merge branch 'master' into network-rewriteShadowghost
2022-10-06Use ArgumentNullException.ThrowIfNull helper methodBond_009
Did a simple search/replace on the whole repo (except the RSSDP project) This reduces LOC and should improve performance (methods containing a throw statement don't get inlined) ``` if \((\w+) == null\) \s+\{ \s+throw new ArgumentNullException\((.*)\); \s+\} ``` ``` ArgumentNullException.ThrowIfNull($1); ```
2022-07-21Enforce interface bindings on SSDP, add Loopback to LAN if no LAN definedShadowghost
2022-03-10ExclusiveAddressUse: cheated by the docsBond_009
2022-03-08SocketFactory: Remove redundant codeBond_009
ExclusiveAddressUse should be false by default afaik
2021-12-27More cleanupBond_009
2021-09-03Fix some warningsBond_009
2021-05-20Enable nullable reference types for Emby.Server.ImplementationsBond_009
2020-06-24Sending multicasts out of Sockets without setting the broadcast to true - ↵BaronGreenback
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-24Removed debugging infoBaronGreenback
2020-06-24Added logging and broadcast = trueBaronGreenback
Not intended for merge into the fork.
2020-06-15fix SA1508telans
2020-06-15fix SA1005telans
2020-05-29Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release modeBond_009
2020-01-31Fix warningsBond_009
2020-01-12Clean up server discovery codeBond-009
2019-08-28Attempt to fix #1391Bond_009
2019-08-09Use System.Net abstractions instead of raw socketBond_009
2019-07-25Remove IpAddressInfo and IpEndPointInfo classesBond_009
2019-03-13Improvements around streamsBond-009
* Use ArrayPool instead of allocating new buffers each time * Remove NetworkStream copy * Remove some dead code
2019-01-20Replaced injections of ILogger with ILoggerFactoryWilliam Taylor
This makes resolving dependencies from the container much easier as you cannot resolve with primitives parameters in a way that is any more readable. The aim of this commit is to change as little as possible with the end result, loggers that were newed up for the parent object were given the same name. Objects that used the base or app loggers, were given a new logger with an appropriate name. Also removed some unused dependencies.
2019-01-13Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTvErwin de Haan
2019-01-13Visual Studio Reformat: Emby.Server.Implementations Part Liv-PErwin de Haan
2019-01-11Merge branch 'dev' into code-cleanupErwin de Haan
2019-01-10Mayor code cleanupErwin de Haan
Add Argument*Exceptions now use proper nameof operators. Added exception messages to quite a few Argument*Exceptions. Fixed rethorwing to be proper syntax. Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling) Added some TODOs to log certain exceptions. Fix sln again. Fixed all AssemblyInfo's and added proper copyright (where I could find them) We live in *current year*. Fixed the use of braces. Fixed a ton of properties, and made a fair amount of functions static that should be and can be static. Made more Methods that should be static static. You can now use static to find bad functions! Removed unused variable. And added one more proper XML comment.
2019-01-07Remove tabs and trailing whitespacehawken
2018-12-30Use Microsoft.Extensions.Logging abstractionBond_009
2018-09-12Update to 3.5.2 and .net core 2.1stefan
2017-11-103.2.36.7Luke Pulverenti
2017-08-17add fixes for .net coreLuke Pulverenti
2017-08-16merge common implementations and server implementationsLuke Pulverenti