1 instantiation of UdpSocket
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpUtility.cs (1)
142
return new
UdpSocket
(socket, interfaceIndex);
61 references to UdpSocket
System.ServiceModel.Channels (61)
System\ServiceModel\Channels\ClientUdpOutputChannel.cs (3)
23
public ClientUdpOutputChannel(ChannelManagerBase factory, IPEndPoint remoteEndPoint, MessageEncoder encoder, BufferManager bufferManager,
UdpSocket
[] sendSockets, UdpRetransmissionSettings retransmissionSettings, EndpointAddress to, Uri via, bool isMulticast)
39
protected override
UdpSocket
[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown)
41
UdpSocket
[] socketList = null;
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (19)
21
public ServerUdpOutputChannel(ChannelManagerBase factory, MessageEncoder encoder, BufferManager bufferManager,
UdpSocket
[] sendSockets, UdpRetransmissionSettings retransmissionSettings, Uri via, bool isMulticast)
27
protected
UdpSocket
GetSendSocket(IPAddress address, Uri destination, out Exception exceptionToBeThrown)
31
UdpSocket
result = null;
63
protected
UdpSocket
GetSendSocket(int interfaceIndex, out Exception exceptionToBeThrown)
67
UdpSocket
result = null;
98
protected override
UdpSocket
[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown)
102
UdpSocket
[] socketList = null;
131
UdpSocket
socket = this.GetSendSocketUsingInterfaceIndex(message.Properties, out exceptionToBeThrown);
137
socketList = new
UdpSocket
[] { socket };
147
UdpSocket
socket = this.GetSendSocket(remoteEndPoint.Address, destination, out exceptionToBeThrown);
150
socketList = new
UdpSocket
[] { socket };
160
UdpSocket
socket = this.GetSendSocketUsingInterfaceIndex(message.Properties, out exceptionToBeThrown);
164
socketList = new
UdpSocket
[] { socket };
195
UdpSocket
socket = this.GetSendSocket(address, destination, out exceptionToBeThrown);
213
socketList = new
UdpSocket
[] { socket };
219
UdpSocket
socket = this.GetSendSocket(address, destination, out exceptionToBeThrown);
237
socketList = new
UdpSocket
[] { socket };
248
private
UdpSocket
GetSendSocketUsingInterfaceIndex(MessageProperties properties, out Exception exceptionToBeThrown)
251
UdpSocket
socket = null;
System\ServiceModel\Channels\UdpChannelBase.cs (2)
33
UdpSocket
[] sockets,
110
protected
UdpSocket
[] Sockets
System\ServiceModel\Channels\UdpChannelFactory.cs (8)
104
UdpSocket
[] sockets = null;
152
UdpSocket
[] GetSockets(Uri via, out IPEndPoint remoteEndPoint, out bool isMulticast)
154
UdpSocket
[] results = null;
199
List<
UdpSocket
> socketList = new List<
UdpSocket
>();
263
UdpSocket
socket = UdpUtility.CreateUnicastListenSocket(localAddress, ref port, this.udpTransportBindingElement.SocketReceiveBufferSize,
266
results = new
UdpSocket
[] { socket };
280
internal ClientUdpDuplexChannel(UdpChannelFactory<IDuplexChannel> factory,
UdpSocket
[] sockets, IPEndPoint remoteEndPoint, EndpointAddress localAddress, EndpointAddress to, Uri via, bool isMulticast)
System\ServiceModel\Channels\UdpChannelListener.cs (8)
27
List<
UdpSocket
> listenSockets;
125
internal List<
UdpSocket
> ListenSockets
405
foreach (
UdpSocket
udpSocket in this.listenSockets)
445
UdpSocket
[] sendSockets = this.listenSockets.ToArray();
528
this.listenSockets = new List<
UdpSocket
>();
616
UdpSocket
ipv4Socket, ipv6Socket;
646
foreach (
UdpSocket
udpSocket in this.ListenSockets)
760
public ServerUdpDuplexChannel(UdpDuplexChannelListener listener,
UdpSocket
[] sockets, EndpointAddress localAddress, Uri via, bool isMulticast)
System\ServiceModel\Channels\UdpDuplexChannel.cs (1)
24
UdpSocket
[] sendSockets,
System\ServiceModel\Channels\UdpOutputChannel.cs (6)
32
UdpSocket
[] sendSockets,
99
protected
UdpSocket
[] SendSockets
207
UdpSocket
[] sendSockets;
290
protected abstract
UdpSocket
[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown);
414
private void TransmitMessage(ArraySegment<byte> messageBytes,
UdpSocket
[] sockets, IPEndPoint remoteEndpoint, TimeoutHelper timeoutHelper)
643
private
UdpSocket
[] sendSockets;
System\ServiceModel\Channels\UdpReplyChannel.cs (1)
15
public UdpReplyChannel(UdpReplyChannelListener listener,
UdpSocket
[] sockets, EndpointAddress localAddress, Uri via, bool isMulticast)
System\ServiceModel\Channels\UdpSocket.cs (2)
391
throw FxTrace.Exception.AsError(
UdpSocket
.ConvertNetworkError(socketException, this));
448
completionException =
UdpSocket
.ConvertNetworkError(socketException, asyncResult);
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (7)
23
UdpSocket
[] receiveSockets;
29
internal UdpSocketReceiveManager(
UdpSocket
[] receiveSockets, int maxPendingReceivesPerSocket, BufferManager bufferManager, IUdpReceiveHandler receiveHandler)
178
while (StartAsyncReceive(socket as
UdpSocket
))
237
bool StartAsyncReceive(
UdpSocket
socket)
299
UdpSocket
socket = this.receiveSockets[i];
370
public UdpSocketReceiveState(
UdpSocket
socket, byte[] receiveBuffer)
384
internal
UdpSocket
Socket
System\ServiceModel\Channels\UdpUtility.cs (4)
102
public static
UdpSocket
CreateUnicastListenSocket(IPAddress ipAddress, ref int port, int receiveBufferSize, int timeToLive)
107
public static
UdpSocket
CreateListenSocket(IPAddress ipAddress, ref int port, int receiveBufferSize, int timeToLive,
146
public static int CreateListenSocketsOnUniquePort(IPAddress ipv4Address, IPAddress ipv6Address, int receiveBufferSize, int timeToLive, out
UdpSocket
ipv4Socket, out
UdpSocket
ipv6Socket)