docs.unity3d.com
    Show / Hide Table of Contents

    Struct NetworkStreamRequestListenResult

    Optional cleanup component that can be added to the NetworkStreamRequestListen entity when the request is created. Used to monitor the state of the request. When present, the component is update by the NetworkStreamListenSystem system when the request is handled.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    public struct NetworkStreamRequestListenResult : ICleanupComponentData, IComponentData, IQueryTypeParameter
    Remarks

    Being a cleanup component it is responsibility of the request creator to proper handle the request entity life-cycle.

    Fields

    Endpoint

    The remote server address for that request/.

    Declaration
    public NetworkEndpoint Endpoint
    Field Value
    Type Description
    NetworkEndpoint

    RequestState

    The request status.

    Declaration
    public NetworkStreamRequestListenResult.State RequestState
    Field Value
    Type Description
    NetworkStreamRequestListenResult.State
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023