docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EndSend

    EndSend(DataStreamWriter)

    Ends a asynchronous send.

    Declaration
    public int EndSend(DataStreamWriter writer)
    Parameters
    Type Name Description
    DataStreamWriter writer

    If you require the payload to be of certain size.

    Returns
    Type Description
    int

    The length of the buffer sent if nothing went wrong.

    Exceptions
    Type Condition
    InvalidOperationException

    If endsend is called with a matching BeginSend call.

    InvalidOperationException

    If the connection got closed between the call of being and end send.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)