-
-
Notifications
You must be signed in to change notification settings - Fork 4
Exomia.Network.UDP
A UDP-Client build with the "Asynchronous Programming Model" (APM)
public class Exomia.Network.UDP.UdpClientApm
: UdpClientBase, IClient, IDisposable.ctor UdpClientApm(UInt16 expectedMaxPayloadSize = 65482)
Initializes a new instance of the Exomia.Network.UDP.UdpClientApm class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
SendError BeginSendData(PacketInfo& packetInfo)
Begins send data.
-
packetInfo- Information describing the packet.
An UDP client base.
public abstract class Exomia.Network.UDP.UdpClientBase
: ClientBase, IClient, IDisposable.ctor UdpClientBase(UInt16 expectedMaxPayloadSize = 65482)
Initializes a new instance of the Exomia.Network.UDP.UdpServerEapBase`1 class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
Boolean TryCreateSocket(Socket& socket)
Attempts to create socket.
-
socket- [out] The 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 = 65482)
Initializes a new instance of the Exomia.Network.UDP.UdpClientEap class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
SendError BeginSendData(PacketInfo& packetInfo)
Begins send data.
-
packetInfo- Information describing the packet.
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 expectedMaxClients, UInt16 expectedMaxPayloadSize = 65482)
Initializes a new instance of the Exomia.Network.UDP.UdpServerApmBase`1 class.
-
expectedMaxClients- The expected maximum clients. -
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
SendError SendTo(EndPoint arg0, PacketInfo& packetInfo)An UDP server base.
public abstract class Exomia.Network.UDP.UdpServerBase<TServerClient>
: ServerBase<EndPoint, TServerClient>, IServer<TServerClient>, IDisposable.ctor UdpServerBase`1(UInt16 expectedMaxPayloadSize = 65482)
Initializes a new instance of the Exomia.Network.UDP.UdpServerEapBase`1 class.
-
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
UInt16 MaxPayloadSizeBoolean OnRun(Int32 port, Socket& listener)
Executes the run action.
-
port- The port. -
listener- [out] The 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 expectedMaxClients, UInt16 expectedMaxPayloadSize = 65482)
Initializes a new instance of the Exomia.Network.UDP.UdpServerEapBase`1 class.
-
expectedMaxClients- The expected maximum clients. -
expectedMaxPayloadSize- (Optional) Size of the expected maximum payload.
void OnDispose(Boolean disposing)SendError SendTo(EndPoint arg0, PacketInfo& packetInfo)