UdpCommunicatorUdpCreateListener Field

Index of the parameter "CreateListener" in the ConnectionParams. UdpCommunicator can be used by two ways. First is to send data to Address and Port and receive data on LocalAddress and LocalPort. This way cannot be used for parallel connections that use the same LocalAddress and LocalPort. It must be used shared listener for that case. Set UdpCreateListener parameter to true and this communicator will create listening socket using UdpLocalAddress and UdpLocalPort. If UdpCreateListener is set to false, communicator must be manually registered to a shared UdpListener using RegisterCommunicator method.

Definition

Namespace: OddPrg.Communication.Udp
Assembly: OddPrg.Communication.Udp (in OddPrg.Communication.Udp.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public const int UdpCreateListener = 4

Field Value

Int32

See Also