-
-
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
maxPacketSize = 65508)
Initializes a new instance of the Exomia.Network.UDP.UdpClientApm class.
-
maxPacketSize
- (Optional) Size of the maximum packet.
SendError
BeginSendData(Int32
packetID, UInt32
commandID, UInt32
responseID, Byte*
src, Int32
chunkLength, Int32
chunkOffset, Int32
length)An UDP client base.
public abstract class Exomia.Network.UDP.UdpClientBase
: ClientBase, IClient, IDisposable
.ctor
UdpClientBase(UInt16
maxPacketSize)
Initializes a new instance of the Exomia.Network.UDP.UdpClientBase class.
-
maxPacketSize
- Size of the maximum packet.
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
maxPacketSize = 65508)
Initializes a new instance of the Exomia.Network.UDP.UdpClientEap class.
-
maxPacketSize
- (Optional) Size of the maximum packet.
SendError
BeginSendData(Int32
packetID, UInt32
commandID, UInt32
responseID, Byte*
src, Int32
chunkLength, Int32
chunkOffset, Int32
length)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
maxPacketSize = 65508)
Initializes a new instance of the Exomia.Network.UDP.UdpServerApmBase`1 class.
-
expectedMaxClients
- The expected maximum clients. -
maxPacketSize
- (Optional) Size of the maximum packet.
SendError
SendTo(EndPoint
arg0, Int32
packetID, UInt32
commandID, UInt32
responseID, Byte*
src, Int32
chunkLength, Int32
chunkOffset, Int32
length)An UDP server base.
public abstract class Exomia.Network.UDP.UdpServerBase<TServerClient>
: ServerBase<EndPoint, TServerClient>, IServer<TServerClient>, IDisposable
.ctor
UdpServerBase`1(UInt16
maxPacketSize)
Initializes a new instance of the Exomia.Network.UDP.UdpServerEapBase`1 class.
-
maxPacketSize
- Size of the maximum packet.
Boolean
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
maxPacketSize = 65508)
Initializes a new instance of the Exomia.Network.UDP.UdpServerEapBase`1 class.
-
expectedMaxClients
- The expected maximum clients. -
maxPacketSize
- (Optional) Size of the maximum packet.
void
OnDispose(Boolean
disposing)SendError
SendTo(EndPoint
arg0, Int32
packetID, UInt32
commandID, UInt32
responseID, Byte*
src, Int32
chunkLength, Int32
chunkOffset, Int32
length)