Show / Hide Table of Contents

Class UdpClientExtensions

Extension methods for IUdpClient.

Inheritance
System.Object
UdpClientExtensions
Namespace: Eco.Shared.Networking.Udp
Assembly: Eco.Shared.dll
Syntax
public static class UdpClientExtensions : Object

Methods

SendData(IUdpClient, Byte[], Int32, Int32, Byte)

Sends data to the server peer. Optionally may be provided channel. Reliable sequenced packets delivers independently on different channels.

Declaration
public static void SendData(this IUdpClient udpClient, byte[] data, int offset, int length, byte channel = 0)
Parameters
Type Name Description
IUdpClient udpClient
System.Byte[] data
System.Int32 offset
System.Int32 length
System.Byte channel
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾