-
-
Notifications
You must be signed in to change notification settings - Fork 4
Exomia.Network.UDP
Daniel Baetz edited this page Oct 1, 2020
·
22 revisions
A UDP-Client build with the "Asynchronous Programming Model" (APM)
public class Exomia.Network.UDP.UdpClientApm
: UdpClientBase, IClient, IDisposable.ctor UdpClientApm(UInt16 expectedMaxPayloadSize = 65484)
Initializes a new instance of the class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
SendError BeginSend(PacketInfo& packetInfo)
Begins send data.
-
packetInfo- Information describing the packet.
void ReceiveAsync()An UDP client base.
public abstract class Exomia.Network.UDP.UdpClientBase
: ClientBase, IClient, IDisposable.ctor UdpClientBase(UInt16 expectedMaxPayloadSize = 65484)
Initializes a new instance of the class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
BigDataHandler _bigDataHandlerUInt16 MaxPayloadSizeBoolean TryCreateSocket(Socket& socket)A UDP-Client build with the "Event-based Asynchronous Pattern" (EAP)
public class Exomia.Network.UDP.UdpClientEap
: UdpClientBase, IClient, IDisposable.ctor UdpClientEap(UInt16 expectedMaxPayloadSize = 65484)
Initializes a new instance of the class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
SendError BeginSend(PacketInfo& packetInfo)
Begins send data.
-
packetInfo- Information describing the packet.
void ReceiveAsync()A UDP-Server build with the "Asynchronous Programming Model" (APM)
public abstract class Exomia.Network.UDP.UdpServerApmBase<TServerClient>
: UdpServerBase<TServerClient>, IServer<TServerClient>, IDisposable.ctor UdpServerApmBase`1(UInt16 expectedMaxPayloadSize = 65484)
Initializes a new instance of the class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
SendError BeginSendTo(EndPoint arg0, PacketInfo& packetInfo)void ListenAsync()An UDP server base.
public abstract class Exomia.Network.UDP.UdpServerBase<TServerClient>
: ServerBase<EndPoint, TServerClient>, IServer<TServerClient>, IDisposable.ctor UdpServerBase`1(UInt16 expectedMaxPayloadSize = 65484)
Initializes a new instance of the class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
BigDataHandler> _bigDataHandlerUInt16 MaxPayloadSizevoid Configure()Boolean OnRun(Int32 port, Socket& listener)An UDP server client base.
public abstract class Exomia.Network.UDP.UdpServerClientBase
: ServerClientBase<EndPoint>, IServerClient.ctor UdpServerClientBase()A UDP-Server build with the "Event-based Asynchronous Pattern" (EAP)
public abstract class Exomia.Network.UDP.UdpServerEapBase<TServerClient>
: UdpServerBase<TServerClient>, IServer<TServerClient>, IDisposable.ctor UdpServerEapBase`1(UInt16 expectedMaxPayloadSize = 65484)
Initializes a new instance of the class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
SendError BeginSendTo(EndPoint arg0, PacketInfo& packetInfo)void ListenAsync()void OnDispose(Boolean disposing)