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