This class implements generic UDP server.

C# | Visual Basic | Visual C++ | F# |
public class UDP_Server : IDisposable
Public Class UDP_Server Implements IDisposable
public ref class UDP_Server : IDisposable
type UDP_Server = class interface IDisposable end

All Members | Constructors | Methods | Properties | Events | |
Icon | Member | Description |
---|---|---|
![]() | UDP_Server()()()() |
Default constructor.
|
![]() | Bindings |
Gets or sets IP end point where UDP server is binded.
|
![]() | BytesReceived |
Gets how many bytes this UDP server has received since start.
|
![]() | BytesSent |
Gets how many bytes this UDP server has sent since start.
|
![]() | Dispose()()()() |
Cleans up any resources being used.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Error |
This event is raised when unexpected error happens.
|
![]() | Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetLocalEndPoint(IPEndPoint) |
Gets suitable local IP end point for the specified remote endpoint.
If there are multiple sending local end points, they will be load-balanched with round-robin.
|
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsDisposed |
Gets if this object is disposed.
|
![]() | IsRunning |
Gets if UDP server is running.
|
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MTU |
Gets or sets maximum network transmission unit.
|
![]() | PacketReceived |
This event is raised when new UDP packet received.
|
![]() | PacketsReceived |
Gets how many UDP packets this UDP server has received since start.
|
![]() | PacketsSent |
Gets how many UDP packets this UDP server has sent since start.
|
![]() | Restart()()()() |
Restarts running server. If server is not running, this methods has no efffect.
|
![]() | SendPacket(array<Byte>[]()[][], Int32, Int32, IPEndPoint) |
Sends specified UDP packet to the specified remote end point.
|
![]() | SendPacket(array<Byte>[]()[][], Int32, Int32, IPEndPoint, IPEndPoint%) |
Sends specified UDP packet to the specified remote end point.
|
![]() | SendPacket(IPEndPoint, array<Byte>[]()[][], Int32, Int32, IPEndPoint) |
Sends specified UDP packet to the specified remote end point.
|
![]() | Start()()()() |
Starts UDP server.
|
![]() | StartTime |
Gets time when server was started.
|
![]() | Stop()()()() |
Stops UDP server.
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |

Object | |
![]() | UDP_Server |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119