Show / Hide Table of Contents

    Class UdpClientExtensions

    Represents the udp client extensions.

    Inheritance
    Object
    UdpClientExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Platform.Protocols.Udp
    Assembly: Platform.Protocols.dll
    Syntax
    public static class UdpClientExtensions

    Fields

    | Improve this Doc View Source

    DefaultEncoding

    The utf.

    Declaration
    public static readonly Encoding DefaultEncoding
    Field Value
    Type Description
    Encoding

    Methods

    | Improve this Doc View Source

    ReceiveString(UdpClient)

    Receives the string using the specified udp.

    Declaration
    public static string ReceiveString(this UdpClient udp)
    Parameters
    Type Name Description
    UdpClient udp

    The udp.

    Returns
    Type Description
    String

    The string

    | Improve this Doc View Source

    SendString(UdpClient, IPEndPoint, String)

    Sends the string using the specified udp.

    Declaration
    public static int SendString(this UdpClient udp, IPEndPoint ipEndPoint, string message)
    Parameters
    Type Name Description
    UdpClient udp

    The udp.

    IPEndPoint ipEndPoint

    The ip end point.

    String message

    The message.

    Returns
    Type Description
    Int32

    The int

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX