Navigation
API > API/Plugins > API/Plugins/NetworkServiceDiscovery > API/Plugins/NetworkServiceDiscovery/INetworkServiceDiscoveryModule
Description
Fires once for each successful registration. On platforms that publish the service per network interface (e.g. Windows multi-NIC hosts) this may fire multiple times for a single RegisterService call - once per interface, with FNetworkServiceInfo::InterfaceName / InterfaceIndex identifying which interface the broadcast is for so consumers can disambiguate. FNetworkServiceInfo::Address is NOT populated on register broadcasts (an interface may carry multiple addresses; the address is an implementation detail of the publication).
| Name | OnServiceRegistered |
| Type | function |
| Header File | /Engine/Plugins/Experimental/NetworkServiceDiscovery/Source/NetworkServiceDiscovery/Public/INetworkServiceDiscovery.h |
| Include Path | #include "INetworkServiceDiscovery.h" |
FOnServiceRegistered & OnServiceRegistered()