Navigation
API > API/Plugins > API/Plugins/NetworkServiceDiscovery
Represents a network service discovered or registered via mDNS/DNS-SD.
| Name | FNetworkServiceInfo |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/NetworkServiceDiscovery/Source/NetworkServiceDiscovery/Public/NetworkServiceDiscoveryTypes.h |
| Include Path | #include "NetworkServiceDiscoveryTypes.h" |
Syntax
struct FNetworkServiceInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Address | FString | Resolved IP address (IPv4 or IPv6 string, e.g. "192.168.1.100" or "2001:db8::1") | NetworkServiceDiscoveryTypes.h | |
| bIsResolved | bool | Whether this service has been resolved (Address and Port are valid) | NetworkServiceDiscoveryTypes.h | |
| HostName | FString | Resolved hostname of the service provider | NetworkServiceDiscoveryTypes.h | |
| InterfaceIndex | uint32 | Adapter index (Windows IfIndex / Unix ifindex) the registration is bound to. | NetworkServiceDiscoveryTypes.h | |
| InterfaceName | FString | Human-readable description of the network interface this broadcast is for. | NetworkServiceDiscoveryTypes.h | |
| Port | int32 | Resolved port number | NetworkServiceDiscoveryTypes.h | |
| ServiceName | FString | Human-readable service name, e.g. "MyProject on DESKTOP-ABC" | NetworkServiceDiscoveryTypes.h | |
| ServiceType | FString | DNS-SD service type, e.g. "_unrealremote._tcp." | NetworkServiceDiscoveryTypes.h | |
| TxtRecord | TMap< FString, FString > | TXT record key-value pairs carrying service metadata | NetworkServiceDiscoveryTypes.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FNetworkServiceInfo& Other |
NetworkServiceDiscoveryTypes.h |