Show / Hide Table of Contents

    Class UdpSender

    Represents the sender of messages transfered via UDP protocol.

    Представляет отправителя сообщений по протоколу UDP.

    Inheritance
    Object
    UdpSender
    Namespace: Platform.Protocols.Udp
    Assembly: Platform.Protocols.dll
    Syntax
    public class UdpSender : DisposableBase

    Constructors

    | Improve this Doc View Source

    UdpSender(Int32)

    Initializes a new UdpSender instance.

    Declaration
    public UdpSender(int port)
    Parameters
    Type Name Description
    Int32 port

    A port.

    | Improve this Doc View Source

    UdpSender(IPAddress, Int32)

    Initializes a new UdpSender instance.

    Declaration
    public UdpSender(IPAddress address, int port)
    Parameters
    Type Name Description
    IPAddress address

    A address.

    Int32 port

    A port.

    | Improve this Doc View Source

    UdpSender(IPEndPoint)

    Initializes a new UdpSender instance.

    Declaration
    public UdpSender(IPEndPoint ipendpoint)
    Parameters
    Type Name Description
    IPEndPoint ipendpoint

    A ipendpoint.

    | Improve this Doc View Source

    UdpSender(String, Int32)

    Initializes a new UdpSender instance.

    Declaration
    public UdpSender(string hostname, int port)
    Parameters
    Type Name Description
    String hostname

    A hostname.

    Int32 port

    A port.

    Methods

    | Improve this Doc View Source

    Dispose(Boolean, Boolean)

    Disposes the manual.

    Declaration
    protected override void Dispose(bool manual, bool wasDisposed)
    Parameters
    Type Name Description
    Boolean manual

    The manual.

    Boolean wasDisposed

    The was disposed.

    | Improve this Doc View Source

    Send(String)

    Sends the message.

    Declaration
    public int Send(string message)
    Parameters
    Type Name Description
    String message

    The message.

    Returns
    Type Description
    Int32

    The int

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