67 instantiations of IPEndPoint
SMSvcHost (3)
System\ServiceModel\Activation\RoutingTable.cs (1)
203return new IPEndPoint(address, path.Port);
System\ServiceModel\Activation\TransportListener.cs (2)
48connectionListener = new SocketConnectionListener(new IPEndPoint(IPAddress.Any, endPoint.Port), socketSettings, true); 54connectionListener = new SocketConnectionListener(new IPEndPoint(IPAddress.IPv6Any, endPoint.Port), socketSettings, true);
System (40)
net\System\Net\_AutoWebProxyScriptHelper.cs (2)
615 IPEndPoint dummy = new IPEndPoint(IPAddress.Any, 0); 627 IPEndPoint IPv6EndPoint = new IPEndPoint(v6Address, IPv4EndPoint.Port);
net\System\Net\_FtpControlStream.cs (3)
703IPEndPoint localEndPoint = new IPEndPoint(((IPEndPoint)Socket.LocalEndPoint).Address, 0); 706m_PassiveEndPoint = new IPEndPoint(ServerAddress, port); 1097IPEndPoint epListener = new IPEndPoint(((IPEndPoint)Socket.LocalEndPoint).Address, 0);
net\System\Net\DNS.cs (1)
1198SocketAddress address = (new IPEndPoint(addr,0)).Serialize();
net\System\Net\IPEndPoint.cs (3)
38internal static IPEndPoint Any = new IPEndPoint(IPAddress.Any, AnyPort); 39internal static IPEndPoint IPv6Any = new IPEndPoint(IPAddress.IPv6Any,AnyPort); 167return new IPEndPoint(Address.Snapshot(), Port);
net\System\Net\NetworkInformation\ping.cs (1)
682IPEndPoint ep = new IPEndPoint (address, 0);
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (2)
286udpListeners.Add(new IPEndPoint(udpRow.localAddr, (int)localPort)); 335udpListeners.Add(new IPEndPoint(new IPAddress(udp6RowOwnerPid.localAddr,
net\System\Net\NetworkInformation\SystemTcpConnection.cs (4)
33localEndPoint = new IPEndPoint(row.localAddr,(int)localPort); 34remoteEndPoint= new IPEndPoint(row.remoteAddr,(int)remotePort); 47localEndPoint = new IPEndPoint(new IPAddress(row.localAddr, row.localScopeId), (int)localPort); 48remoteEndPoint = new IPEndPoint(new IPAddress(row.remoteAddr, row.remoteScopeId), (int)remotePort);
net\System\Net\ServicePoint.cs (2)
1288IPEndPoint clonedRemoteIPEndPoint = new IPEndPoint(remoteIPEndPoint.Address, remoteIPEndPoint.Port); 1411remoteIPEndPoint = new IPEndPoint(ipAddressInfo, m_Port);
net\System\Net\SocketAddress.cs (1)
212return new IPEndPoint(address, port);
net\System\Net\Sockets\_MultipleConnectAsync.cs (1)
232internalArgs.RemoteEndPoint = new IPEndPoint(attemptAddress, endPoint.Port);
net\System\Net\Sockets\Socket.cs (10)
1058IPEndPoint remoteEP = new IPEndPoint(address, port); 1109Connect(new IPEndPoint(address,port) ); 3138IAsyncResult result = BeginConnect(new IPEndPoint(address,port),requestCallback,state); 5886return new IPEndPoint(input.Address.MapToIPv6(), input.Port); 6890InternalBind(new IPEndPoint(IPAddress.Any, 0)); 6892InternalBind(new IPEndPoint(IPAddress.IPv6Any, 0)); 7084return new IPEndPoint(addresses[index], port); 7103EndPoint endPoint = new IPEndPoint(currentAddressSnapshot, context.port); 7815InternalBind(new IPEndPoint(IPAddress.Any, 0)); 7817InternalBind(new IPEndPoint(IPAddress.IPv6Any, 0));
net\System\Net\Sockets\TCPClient.cs (2)
260Connect( new IPEndPoint(address,port) ); 328IPEndPoint remoteEP = new IPEndPoint(address, port);
net\System\Net\Sockets\TCPListener.cs (2)
57m_ServerSocketEP = new IPEndPoint(localaddr, port); 78m_ServerSocketEP = new IPEndPoint(IPAddress.Any, port);
net\System\Net\Sockets\UDPClient.cs (6)
100localEP = new IPEndPoint(IPAddress.Any, port); 103localEP = new IPEndPoint(IPAddress.IPv6Any, port); 379Connect(new IPEndPoint(address, port)); 451IPEndPoint endPoint = new IPEndPoint(addr, port); 571IPEndPoint ipEndPoint = new IPEndPoint(addresses[i], port); 663ipEndPoint = new IPEndPoint(addresses[i], port);
System.Net (2)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (1)
362IPEndPoint IPEndPt = new IPEndPoint(IPAddr, port);
net\PeerToPeer\SystemNetHelpers.cs (1)
85return new IPEndPoint(ip, port);
System.Runtime.Remoting (1)
channels\core\socketcache.cs (1)
114return CreateNewSocket(new IPEndPoint(_addressList[0], _port));
System.ServiceModel (12)
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (1)
91socketListener = new SocketConnectionListener(new IPEndPoint(ipAddress, port), this, false);
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
107return new IPEndPoint(new IPAddress(bytes), 0); 480entry.addressList.Add(new IPEndPoint(address, port)); 488global.addressList.Add(new IPEndPoint(address, port)); 2233endPoint = new IPEndPoint(new IPAddress(sa.sin_addr), sa.sin_port); 2246endPoint = new IPEndPoint(new IPAddress(sa.sin6_addr, scopeId), sa.sin6_port);
System\ServiceModel\Channels\SocketConnection.cs (2)
1722socket.Connect(new IPEndPoint(addresses[i], port)); 1876IPEndPoint ipEndPoint = new IPEndPoint(addresses[currentIndex], port);
System\ServiceModel\Channels\TcpChannelListener.cs (4)
366this.ipv4ListenSocket = ListenAndBind(new IPEndPoint(ipv4Address, 0)); 371this.ipv6ListenSocket = ListenAndBind(new IPEndPoint(ipv6Address, 0)); 403this.ipv4ListenSocket = ListenAndBind(new IPEndPoint(ipv4Address, port)); 404this.ipv6ListenSocket = ListenAndBind(new IPEndPoint(ipv6Address, port));
System.ServiceModel.Channels (9)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (4)
127remoteEndPoint = new IPEndPoint(IPAddress.Parse(destination.DnsSafeHost), destination.Port); 170remoteEndPoint = new IPEndPoint(remoteAddresses[i], destination.Port); 212remoteEndPoint = new IPEndPoint(address, destination.Port); 236remoteEndPoint = new IPEndPoint(address, destination.Port);
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
183remoteEndPoint = new IPEndPoint(remoteAddressList[0], via.Port);
System\ServiceModel\Channels\UdpSocket.cs (2)
160return new IPEndPoint(IPAddress.Any, 0); 164return new IPEndPoint(IPAddress.IPv6Any, 0);
System\ServiceModel\Channels\UdpUtility.cs (2)
120localEndpoint = new IPEndPoint(bindAddress, port); 124localEndpoint = new IPEndPoint(ipAddress, port);
234 references to IPEndPoint
SMSvcHost (9)
System\ServiceModel\Activation\RoutingTable.cs (3)
196static IPEndPoint GetEndPoint(Uri path) 210IPEndPoint endPoint = GetEndPoint(path.BaseAddress); 233IPEndPoint endPoint = GetEndPoint(path.BaseAddress);
System\ServiceModel\Activation\TransportListener.cs (6)
34TransportListener(IPEndPoint endPoint) 179internal static void Listen(IPEndPoint endPoint) 222address = (socket.LocalEndPoint as IPEndPoint).Address; 223port = (socket.LocalEndPoint as IPEndPoint).Port; 302internal static void Stop(IPEndPoint endPoint) 353static string GetRemoteEndpointAddressPort(Net.IPEndPoint iPEndPoint)
System (116)
net\System\Net\_AutoWebProxyScriptHelper.cs (4)
615 IPEndPoint dummy = new IPEndPoint(IPAddress.Any, 0); 616 IPEndPoint IPv4EndPoint = (IPEndPoint)dummy.Create(saddrv4); 627 IPEndPoint IPv6EndPoint = new IPEndPoint(v6Address, IPv4EndPoint.Port);
net\System\Net\_FtpControlStream.cs (10)
47private IPEndPoint m_PassiveEndPoint; 125if (!connection.ServerAddress.Equals(((IPEndPoint)connection.m_DataSocket.RemoteEndPoint).Address)) 703IPEndPoint localEndPoint = new IPEndPoint(((IPEndPoint)Socket.LocalEndPoint).Address, 0); 713IPEndPoint passiveEndPoint = m_PassiveEndPoint; 740if (!ServerAddress.Equals(((IPEndPoint)m_DataSocket.RemoteEndPoint).Address)) 1097IPEndPoint epListener = new IPEndPoint(((IPEndPoint)Socket.LocalEndPoint).Address, 0); 1127IPEndPoint localEP = (IPEndPoint) m_DataSocket.LocalEndPoint;
net\System\Net\Configuration\SmtpNetworkElement.cs (2)
146null, new IntegerValidator(IPEndPoint.MinPort+1, IPEndPoint.MaxPort), ConfigurationPropertyOptions.None);
net\System\Net\DNS.cs (4)
1157addresses.Add( ((IPEndPoint)IPEndPoint.Any.Create(sockaddr)).Address ); 1160addresses.Add( ((IPEndPoint)IPEndPoint.IPv6Any.Create(sockaddr)).Address );
net\System\Net\DnsEndPoint.cs (2)
29if(port < IPEndPoint.MinPort || port > IPEndPoint.MaxPort) {
net\System\Net\HttpListenerRequest.cs (4)
227private IPEndPoint m_LocalEndPoint; 228private IPEndPoint m_RemoteEndPoint; 750public /* override */ IPEndPoint RemoteEndPoint { 760public /* override */ IPEndPoint LocalEndPoint {
net\System\Net\Internal.cs (2)
915return port>=IPEndPoint.MinPort && port<=IPEndPoint.MaxPort;
net\System\Net\IPEndPoint.cs (8)
20/// Specifies the minimum acceptable value for the <see cref='System.Net.IPEndPoint.Port'/> 27/// Specifies the maximum acceptable value for the <see cref='System.Net.IPEndPoint.Port'/> 38internal static IPEndPoint Any = new IPEndPoint(IPAddress.Any, AnyPort); 39internal static IPEndPoint IPv6Any = new IPEndPoint(IPAddress.IPv6Any,AnyPort); 153if (!(comparand is IPEndPoint)) { 156return ((IPEndPoint)comparand).m_Address.Equals(m_Address) && ((IPEndPoint)comparand).m_Port==m_Port; 165internal IPEndPoint Snapshot()
net\System\Net\Logging.cs (1)
282if (obj is Uri || obj is System.Net.IPAddress || obj is System.Net.IPEndPoint) {
net\System\Net\NetworkInformation\IPGlobalProperties.cs (2)
26public abstract IPEndPoint[] GetActiveUdpListeners(); 29public abstract IPEndPoint[] GetActiveTcpListeners ();
net\System\Net\NetworkInformation\ping.cs (1)
682IPEndPoint ep = new IPEndPoint (address, 0);
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (6)
136public override IPEndPoint[] GetActiveTcpListeners (){ 137List<IPEndPoint> list = new List<IPEndPoint>(); 258public override IPEndPoint[] GetActiveUdpListeners(){ 262List<IPEndPoint> udpListeners = new List<IPEndPoint>();
net\System\Net\NetworkInformation\SystemTcpConnection.cs (4)
20IPEndPoint localEndPoint; 21IPEndPoint remoteEndPoint; 53public override IPEndPoint LocalEndPoint{get {return localEndPoint;}} 54public override IPEndPoint RemoteEndPoint{get {return remoteEndPoint;}}
net\System\Net\NetworkInformation\TcpConnection.cs (2)
12public abstract IPEndPoint LocalEndPoint { get;} 15public abstract IPEndPoint RemoteEndPoint { get;}
net\System\Net\ServicePoint.cs (6)
20public delegate IPEndPoint BindIPEndPoint(ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount); 1286private void BindUsingDelegate(Socket socket, IPEndPoint remoteIPEndPoint) 1288IPEndPoint clonedRemoteIPEndPoint = new IPEndPoint(remoteIPEndPoint.Address, remoteIPEndPoint.Port); 1292IPEndPoint localIPEndPoint = BindIPEndPointDelegate(this, clonedRemoteIPEndPoint, retryCount); 1359IPEndPoint remoteIPEndPoint;
net\System\Net\SocketAddress.cs (1)
209internal IPEndPoint GetIPEndPoint() {
net\System\Net\Sockets\Socket.cs (17)
222ep = IPEndPoint.Any; 225ep = IPEndPoint.IPv6Any; 863IPEndPoint ipSnapshot = localEP as IPEndPoint; 940IPEndPoint ipEndPoint = endPointSnapshot as IPEndPoint; 1058IPEndPoint remoteEP = new IPEndPoint(address, port); 2957(m_RightEndPoint != null || remoteEP.GetType() == typeof(IPEndPoint)) && 5859IPEndPoint ipSnapshot = remoteEP as IPEndPoint; 5882private IPEndPoint RemapIPEndPoint(IPEndPoint input) 5896IPEndPoint ipSnapshot = remoteEP as IPEndPoint; 6449IPEndPoint ipEndPoint = m_RightEndPoint as IPEndPoint; 6888GlobalLog.Assert(endPointSnapshot.GetType() == typeof(IPEndPoint), "Socket#{0}::BeginConnectEx()|Socket not bound and endpoint not IPEndPoint.", ValidationHelper.HashString(this));
net\System\Net\Sockets\TCPClient.cs (3)
37public TcpClient(IPEndPoint localEP) { 328IPEndPoint remoteEP = new IPEndPoint(address, port); 338public void Connect(IPEndPoint remoteEP) {
net\System\Net\Sockets\TCPListener.cs (2)
20IPEndPoint m_ServerSocketEP; 33public TcpListener(IPEndPoint localEP) {
net\System\Net\Sockets\UDPClient.cs (20)
96IPEndPoint localEP; 118public UdpClient(IPEndPoint localEP) { 451IPEndPoint endPoint = new IPEndPoint(addr, port); 461public void Connect(IPEndPoint endPoint) { 508public int Send(byte[] dgram, int bytes, IPEndPoint endPoint) { 571IPEndPoint ipEndPoint = new IPEndPoint(addresses[i], port); 608public IAsyncResult BeginSend(byte[] datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, object state) { 649IPEndPoint ipEndPoint = null; 695public byte[] Receive(ref IPEndPoint remoteEP) { 710tempRemoteEP = IPEndPoint.Any; 713tempRemoteEP = IPEndPoint.IPv6Any; 717remoteEP = (IPEndPoint)tempRemoteEP; 748tempRemoteEP = IPEndPoint.Any; 751tempRemoteEP = IPEndPoint.IPv6Any; 758public byte[] EndReceive(IAsyncResult asyncResult, ref IPEndPoint remoteEP){ 766tempRemoteEP = IPEndPoint.Any; 769tempRemoteEP = IPEndPoint.IPv6Any; 773remoteEP = (IPEndPoint)tempRemoteEP; 1012public Task<int> SendAsync(byte[] datagram, int bytes, IPEndPoint endPoint) 1030IPEndPoint remoteEP = null;
net\System\Net\Sockets\UdpReceiveResult.cs (3)
17private IPEndPoint m_remoteEndPoint; 19public UdpReceiveResult(byte[] buffer, IPEndPoint remoteEndPoint) 45public IPEndPoint RemoteEndPoint
net\System\Net\UnsafeNativeMethods.cs (12)
3165internal static IPEndPoint GetRemoteEndPoint(byte[] memoryBlob, IntPtr originalAddress) 3179IPEndPoint endpoint = null; 3182endpoint = IPEndPoint.Any.Create(v4address) as IPEndPoint; 3186endpoint = IPEndPoint.IPv6Any.Create(v6address) as IPEndPoint; 3193internal static IPEndPoint GetLocalEndPoint(byte[] memoryBlob, IntPtr originalAddress) 3207IPEndPoint endpoint = null; 3210endpoint = IPEndPoint.Any.Create(v4address) as IPEndPoint; 3214endpoint = IPEndPoint.IPv6Any.Create(v6address) as IPEndPoint;
System.Net (23)
AssemblyInfo.cs (1)
50[assembly: TypeForwardedToAttribute(typeof(System.Net.IPEndPoint))]
net\IPEndPointCollection.cs (3)
14public class IPEndPointCollection : Collection<IPEndPoint> 17protected override void SetItem(int index, IPEndPoint item) 25protected override void InsertItem(int index, IPEndPoint item)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (2)
362IPEndPoint IPEndPt = new IPEndPoint(IPAddr, port); 370internal static PEER_ADDRESS ConvertIPEndpointToPEER_ADDRESS(IPEndPoint endPoint)
net\PeerToPeer\Collaboration\PeerEndPoint.cs (6)
70private IPEndPoint m_endPoint; 75public PeerEndPoint(IPEndPoint endPoint):this(endPoint, null) 78public PeerEndPoint(IPEndPoint endPoint, string endPointName) 103m_endPoint = (IPEndPoint)serializationInfo.GetValue("_EndPoint", typeof(IPEndPoint)); 112public IPEndPoint EndPoint
net\PeerToPeer\PeerNameRecord.cs (1)
173foreach(IPEndPoint ipe in EndPointCollection)
net\PeerToPeer\PeerNameRegistration.cs (4)
106if (port < IPEndPoint.MinPort || port > IPEndPoint.MaxPort) 142if (value < IPEndPoint.MinPort || value > IPEndPoint.MaxPort)
net\PeerToPeer\PeerNameResolver.cs (2)
336IPEndPoint ipe = SystemNetHelpers.IPEndPointFromSOCKADDRBuffer(buffer); 704IPEndPoint ipe = SystemNetHelpers.IPEndPointFromSOCKADDRBuffer(buffer);
net\PeerToPeer\SystemNetHelpers.cs (2)
14internal static byte[] SOCKADDRFromIPEndPoint(IPEndPoint ipEndPoint) 58internal static IPEndPoint IPEndPointFromSOCKADDRBuffer(byte[] buffer)
net\UdpAnySourceMulticastClient.cs (2)
29public IAsyncResult BeginSendTo(byte[] buffer, int offset, int count, IPEndPoint remoteEndPoint, AsyncCallback callback, object state) { throw new SocketException((int)(SocketError.AccessDenied)); } 54public int EndReceiveFromGroup(IAsyncResult result, out IPEndPoint source) { throw new SocketException((int)(SocketError.AccessDenied)); }
System.Runtime.Remoting (6)
channels\core\socketmanager.cs (2)
105IPAddress remoteAddr = ((IPEndPoint)NetSocket.RemoteEndPoint).Address; 114IPAddress remoteAddr = ((IPEndPoint)NetSocket.RemoteEndPoint).Address;
channels\http\httpserverchannel.cs (1)
331_port = ((IPEndPoint)_tcpListener.LocalEndpoint).Port;
channels\http\httpstreams.cs (1)
646headers[CommonTransportKeys.IPAddress] = ((IPEndPoint)NetSocket.RemoteEndPoint).Address;
channels\tcp\tcpserverchannel.cs (1)
326_port = ((IPEndPoint)_tcpListener.LocalEndpoint).Port;
channels\tcp\tcpstreams.cs (1)
321headers.IPAddress = ((IPEndPoint)NetSocket.RemoteEndPoint).Address;
System.ServiceModel (57)
System\ServiceModel\Activation\TcpDuplicateContext.cs (1)
14[KnownType(typeof(IPEndPoint))]
System\ServiceModel\Channels\Connection.cs (3)
21IPEndPoint RemoteIPEndPoint { get; } 90public IPEndPoint RemoteIPEndPoint 612public IPEndPoint RemoteIPEndPoint
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (1)
30this.ipAddress = ((IPEndPoint)this.listenSocket.LocalEndPoint).Address;
System\ServiceModel\Channels\PeerHelpers.cs (2)
500public const int MinPort = IPEndPoint.MinPort; 501public const int MaxPort = IPEndPoint.MaxPort;
System\ServiceModel\Channels\PipeConnection.cs (1)
140public IPEndPoint RemoteIPEndPoint
System\ServiceModel\Channels\PnrpPeerResolver.cs (18)
100public static IPEndPoint GetHint() 381Array.ForEach(input.Addresses, delegate(IPEndPoint obj) { addresses.Add(obj.Address); }); 424void TrimToMaxAddresses(List<IPEndPoint> addressList) 499global.Addresses = new IPEndPoint[0]; 513tempLink.Addresses = new IPEndPoint[0]; 532tempSite.Addresses = new IPEndPoint[0]; 602entry.addressList = new List<IPEndPoint>(); 726public IPEndPoint[] Addresses; 727public List<IPEndPoint> addressList; 735reg.addressList = new List<IPEndPoint>(); 1070public IPEndPoint LocalAddr; 1071public IPEndPoint RemoteAddr; 1247public static SOCKET_ADDRESS_SAFE SocketAddressFromIPEndPoint(IPEndPoint endpoint) 1877IPEndPoint hint = PnrpPeerResolver.GetHint(); 2017IPEndPoint hint = PnrpPeerResolver.GetHint(); 2100pnrpRegistration.Addresses = new IPEndPoint[querySet.CsAddrInfos.Length]; 2219static IPEndPoint IPEndPointFromSocketAddress(SOCKET_ADDRESS_NATIVE socketAddress, uint scopeId) 2221IPEndPoint endPoint = null;
System\ServiceModel\Channels\RemoteEndpointMessageProperty.cs (6)
13IPEndPoint remoteEndPoint; 25if (port < IPEndPoint.MinPort || port > IPEndPoint.MaxPort) 28SR.GetString(SR.ValueMustBeInRange, IPEndPoint.MinPort, IPEndPoint.MaxPort)); 41internal RemoteEndpointMessageProperty(IPEndPoint remoteEndPoint)
System\ServiceModel\Channels\SessionConnectionReader.cs (1)
1089IPEndPoint remoteEndPoint = this.rawConnection.RemoteIPEndPoint;
System\ServiceModel\Channels\SharedConnectionListener.cs (2)
1056this.ipAddress = ((IPEndPoint)socket.LocalEndPoint).Address; 1057this.port = ((IPEndPoint)socket.LocalEndPoint).Port;
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
1020IPEndPoint remoteEndPoint = this.rawConnection.RemoteIPEndPoint;
System\ServiceModel\Channels\SocketConnection.cs (14)
73IPEndPoint remoteEndpoint; 142public IPEndPoint RemoteIPEndPoint 151remoteEndpoint = (IPEndPoint)socket.RemoteEndPoint; 225IPEndPoint local, remote; 633bool TryGetEndpoints(out IPEndPoint localIPEndpoint, out IPEndPoint remoteIPEndpoint) 642remoteIPEndpoint = this.remoteEndpoint ?? (IPEndPoint)this.socket.RemoteEndPoint; 643localIPEndpoint = (IPEndPoint)this.socket.LocalEndPoint; 824IPEndPoint remoteEndpoint = null; 825IPEndPoint localEndpoint = null; 1876IPEndPoint ipEndPoint = new IPEndPoint(addresses[currentIndex], port); 1973IPEndPoint localEndpoint; 1988public SocketConnectionListener(IPEndPoint localEndpoint, ISocketListenerSettings settings, bool useOnlyOverlappedIO) 2141public static Exception ConvertListenException(SocketException socketException, IPEndPoint localEndpoint)
System\ServiceModel\Channels\TcpChannelListener.cs (3)
312Socket ListenAndBind(IPEndPoint localEndpoint) 367port = ((IPEndPoint)this.ipv4ListenSocket.LocalEndPoint).Port; 372port = ((IPEndPoint)this.ipv6ListenSocket.LocalEndPoint).Port;
System\ServiceModel\Configuration\DefaultPortElement.cs (2)
38[IntegerValidator(MinValue = IPEndPoint.MinPort, MaxValue = IPEndPoint.MaxPort)]
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (1)
384foreach (IPEndPoint address in entry.Addresses)
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
1269internal static string GetRemoteEndpointAddressPort(Net.IPEndPoint iPEndPoint)
System.ServiceModel.Channels (23)
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) 33public IPEndPoint RemoteEndPoint 39protected override UdpSocket[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (4)
98protected override UdpSocket[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown) 291if (destination.Port < 1 || destination.Port > IPEndPoint.MaxPort) 295throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ViaUriIsNotValid(destination, SR.PortNumberInvalid(1, IPEndPoint.MaxPort)))); 299throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ToAddressIsNotValid(destination, SR.PortNumberInvalid(1, IPEndPoint.MaxPort))));
System\ServiceModel\Channels\UdpChannelBase.cs (2)
149IPEndPoint remoteIPEndPoint = (IPEndPoint)remoteEndpoint;
System\ServiceModel\Channels\UdpChannelFactory.cs (4)
105IPEndPoint remoteEndPoint = null; 152UdpSocket[] GetSockets(Uri via, out IPEndPoint remoteEndPoint, out bool isMulticast) 280internal ClientUdpDuplexChannel(UdpChannelFactory<IDuplexChannel> factory, UdpSocket[] sockets, IPEndPoint remoteEndPoint, EndpointAddress localAddress, EndpointAddress to, Uri via, bool isMulticast) 327public IPEndPoint RemoteEndPoint
System\ServiceModel\Channels\UdpChannelListener.cs (2)
179IPEndPoint remoteIPEndPoint = (IPEndPoint)remoteEndpoint;
System\ServiceModel\Channels\UdpOutputChannel.cs (4)
206IPEndPoint remoteEndPoint; 290protected abstract UdpSocket[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown); 414private void TransmitMessage(ArraySegment<byte> messageBytes, UdpSocket[] sockets, IPEndPoint remoteEndpoint, TimeoutHelper timeoutHelper) 641private IPEndPoint remoteEndpoint;
System\ServiceModel\Channels\UdpUtility.cs (4)
115IPEndPoint localEndpoint; 138port = ((IPEndPoint)socket.LocalEndPoint).Port; 422static void BindSocket(Socket socket, IPEndPoint localEndpoint) 535public static Message DecodeMessage(DuplicateMessageDetector duplicateDetector, MessageEncoder encoder, BufferManager bufferManager, ArraySegment<byte> data, IPEndPoint remoteEndPoint, int interfaceIndex, bool ignoreSerializationException, out string messageHash)