mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4085] [CLOSED] Project: Network Code Review 1 - Structures #9868
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4085
Author: @BaronGreenback
Created: 9/8/2020
Status: ❌ Closed
Base:
master← Head:NetReview1📝 Commits (4)
d4004bcMerge pull request #62 from jellyfin/mastera3a7901Create IPHost.cs2303e57Add files via upload04c8735Delete NetCollection.cs📊 Changes
3 files changed (+1181 additions, -0 deletions)
View changed files
➕
Jellyfin.Networking/Structures/IPHost.cs(+437 -0)➕
Jellyfin.Networking/Structures/IPNetAddress.cs(+355 -0)➕
Jellyfin.Networking/Structures/IPObject.cs(+389 -0)📄 Description
These are the helper classes for the networkManager.
IPHost and IPNetAddress both inherit, and share properties with IPObject.
Both items can deal with IPv4/IPv6.
The main differences are:-
IPHosts are items that are items that can have multiple ip addresses if resolved (they don't have to be).
IPNetAddress are network addresses (IPAddess + subnet masks)
I've tried to include helpful comments throughout.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.