2 writes to listenSockets
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpChannelListener.cs (2)
413
this.
listenSockets
= null;
528
this.
listenSockets
= new List<UdpSocket>();
18 references to listenSockets
System.ServiceModel.Channels (18)
System\ServiceModel\Channels\UdpChannelListener.cs (18)
127
get { return this.
listenSockets
; }
371
this.socketReceiveManager = new UdpSocketReceiveManager(this.
listenSockets
.ToArray(),
405
foreach (UdpSocket udpSocket in this.
listenSockets
)
410
if (this.
listenSockets
!= null)
412
this.
listenSockets
.Clear();
445
UdpSocket[] sendSockets = this.
listenSockets
.ToArray();
526
Fx.Assert(this.
listenSockets
== null, "listen sockets should only be initialized once");
561
listenSockets
.Add(UdpUtility.CreateListenSocket(address, ref port, this.udpTransportBindingElement.SocketReceiveBufferSize, this.udpTransportBindingElement.TimeToLive,
574
listenSockets
.Add(UdpUtility.CreateListenSocket(address, ref port, this.udpTransportBindingElement.SocketReceiveBufferSize,
586
listenSockets
.Add(UdpUtility.CreateListenSocket(address, ref port, this.udpTransportBindingElement.SocketReceiveBufferSize,
594
if (
listenSockets
.Count == 0)
602
this.
listenSockets
.Add(UdpUtility.CreateUnicastListenSocket(address, ref port,
619
this.
listenSockets
.Add(ipv4Socket);
620
this.
listenSockets
.Add(ipv6Socket);
624
this.
listenSockets
.Add(UdpUtility.CreateUnicastListenSocket(v4Address, ref port, this.udpTransportBindingElement.SocketReceiveBufferSize, this.udpTransportBindingElement.TimeToLive));
625
this.
listenSockets
.Add(UdpUtility.CreateUnicastListenSocket(v6Address, ref port, this.udpTransportBindingElement.SocketReceiveBufferSize, this.udpTransportBindingElement.TimeToLive));
630
this.
listenSockets
.Add(UdpUtility.CreateUnicastListenSocket(v4Address, ref port, this.udpTransportBindingElement.SocketReceiveBufferSize, this.udpTransportBindingElement.TimeToLive));
634
this.
listenSockets
.Add(UdpUtility.CreateUnicastListenSocket(v6Address, ref port, this.udpTransportBindingElement.SocketReceiveBufferSize, this.udpTransportBindingElement.TimeToLive));