7 types derived from EndPoint
Microsoft.AspNetCore.Connections.Abstractions (3)
FileHandleEndPoint.cs (1)
12public class FileHandleEndPoint : EndPoint
NamedPipeEndPoint.cs (1)
12public sealed class NamedPipeEndPoint : EndPoint
UriEndPoint.cs (1)
12public class UriEndPoint : EndPoint
Microsoft.Extensions.ServiceDiscovery (1)
UriEndPoint.cs (1)
12internal sealed class UriEndPoint(Uri uri) : EndPoint
System.Net.Primitives (2)
artifacts\obj\System.Net.Primitives\Debug\net10.0\System.Net.Primitives.notsupported.cs (2)
124public partial class DnsEndPoint : System.Net.EndPoint 286public partial class IPEndPoint : System.Net.EndPoint
System.Net.Sockets (1)
artifacts\obj\System.Net.Sockets\Debug\net10.0\System.Net.Sockets.notsupported.cs (1)
816public sealed partial class UnixDomainSocketEndPoint : System.Net.EndPoint
243 references to EndPoint
ClientSample (4)
Tcp\TcpConnection.cs (2)
22private readonly EndPoint _endPoint; 27public TcpConnection(EndPoint endPoint)
Tcp\TcpHubConnectionBuilderExtensions.cs (2)
38public static IHubConnectionBuilder WithEndPoint(this IHubConnectionBuilder builder, EndPoint endPoint) 48public ValueTask<ConnectionContext> ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken = default)
InMemory.FunctionalTests (8)
src\Servers\Kestrel\shared\TransportConnection.cs (2)
27public override EndPoint? LocalEndPoint { get; set; } 28public override EndPoint? RemoteEndPoint { get; set; }
TestTransport\InMemoryTransportFactory.cs (2)
17public EndPoint EndPoint { get; set; } 38public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default)
TestTransport\MockMultiplexedConnectionListenerFactory.cs (4)
15public Action<EndPoint, IFeatureCollection> OnBindAsync { get; set; } 17public ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection features = null, CancellationToken cancellationToken = default) 26public MockMultiplexedConnectionListener(EndPoint endpoint) 31public EndPoint EndPoint { get; }
Microsoft.AspNetCore.Connections.Abstractions (30)
BaseConnectionContext.cs (2)
41public virtual EndPoint? LocalEndPoint { get; set; } 46public virtual EndPoint? RemoteEndPoint { get; set; }
DefaultConnectionContext.cs (2)
93public override EndPoint? LocalEndPoint { get; set; } 96public override EndPoint? RemoteEndPoint { get; set; }
Features\IConnectionEndpointFeature.cs (4)
14/// Gets or sets the local <see cref="EndPoint"/>. 16EndPoint? LocalEndPoint { get; set; } 19/// Gets or sets the remote <see cref="EndPoint"/>. 21EndPoint? RemoteEndPoint { get; set; }
IConnectionFactory.cs (2)
18/// <param name="endpoint">The <see cref="EndPoint"/> to connect to.</param> 23ValueTask<ConnectionContext> ConnectAsync(EndPoint endpoint, CancellationToken cancellationToken = default);
IConnectionListener.cs (1)
19EndPoint EndPoint { get; }
IConnectionListenerFactory.cs (4)
11/// Defines an interface that provides the mechanisms for binding to various types of <see cref="EndPoint"/>s. 16/// Creates an <see cref="IConnectionListener"/> bound to the specified <see cref="EndPoint"/>. 18/// <param name="endpoint">The <see cref="EndPoint" /> to bind to.</param> 21ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default);
IConnectionListenerFactorySelector.cs (5)
9/// Defines an interface that determines whether the listener factory supports binding to the specified <see cref="EndPoint"/>. 18/// Returns a value that indicates whether the listener factory supports binding to the specified <see cref="EndPoint"/>. 20/// <param name="endpoint">The <see cref="EndPoint" /> to bind to.</param> 21/// <returns>A value that indicates whether the listener factory supports binding to the specified <see cref="EndPoint"/>.</returns> 22bool CanBind(EndPoint endpoint);
IMulitplexedConnectionListener.cs (1)
20EndPoint EndPoint { get; }
IMultiplexedConnectionFactory.cs (2)
19/// <param name="endpoint">The <see cref="EndPoint"/> to connect to.</param> 25ValueTask<MultiplexedConnectionContext> ConnectAsync(EndPoint endpoint, IFeatureCollection? features = null, CancellationToken cancellationToken = default);
IMultiplexedConnectionListenerFactory.cs (4)
12/// Defines an interface that provides the mechanisms for binding to various types of <see cref="EndPoint"/>s. 17/// Creates an <see cref="IMultiplexedConnectionListener"/> bound to the specified <see cref="EndPoint"/>. 19/// <param name="endpoint">The <see cref="EndPoint" /> to bind to.</param> 23ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection? features = null, CancellationToken cancellationToken = default);
UriEndPoint.cs (3)
10/// An <see cref="EndPoint"/> defined by a <see cref="System.Uri"/>. 17/// <param name="uri">The <see cref="System.Uri"/> defining the <see cref="EndPoint"/>.</param> 24/// The <see cref="System.Uri"/> defining the <see cref="EndPoint"/>.
Microsoft.AspNetCore.Http.Connections.Client (2)
HttpConnectionFactory.cs (2)
44public async ValueTask<ConnectionContext> ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken = default) 50throw new NotSupportedException($"The provided {nameof(EndPoint)} must be of type {nameof(UriEndPoint)}.");
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
RedisOutputCacheStore.cs (1)
424foreach (var ep in connection.GetEndPoints())
Microsoft.AspNetCore.Server.Kestrel.Core (28)
HttpsConfigurationService.cs (2)
211public override EndPoint? LocalEndPoint 216public override EndPoint? RemoteEndPoint
Internal\Infrastructure\IConnectionListenerBase.cs (1)
16EndPoint EndPoint { get; }
Internal\Infrastructure\IConnectionListenerOfT.cs (1)
10/// Defines an interface that represents a listener bound to a specific <see cref="EndPoint"/>.
Internal\Infrastructure\KestrelMetrics.cs (1)
324var localEndpoint = metricsContext.ConnectionContext.LocalEndPoint;
Internal\Infrastructure\KestrelTrace.General.cs (4)
57public void Http2DisabledWithHttp1AndNoTls(EndPoint endPoint) 62public void Http3DisabledWithHttp1AndNoTls(EndPoint endPoint) 107public static partial void Http2DisabledWithHttp1AndNoTls(ILogger logger, EndPoint endPoint); 110public static partial void Http3DisabledWithHttp1AndNoTls(ILogger logger, EndPoint endPoint);
Internal\Infrastructure\TransportManager.cs (7)
35public async Task<EndPoint> BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig? endpointConfig, CancellationToken cancellationToken) 64public async Task<EndPoint> BindAsync(EndPoint endPoint, MultiplexedConnectionDelegate multiplexedConnectionDelegate, ListenOptions listenOptions, CancellationToken cancellationToken) 90private static bool CanBindFactory(EndPoint endPoint, IConnectionListenerFactorySelector? selector) 205public EndPoint EndPoint => _connectionListener.EndPoint; 226public EndPoint EndPoint => _multiplexedConnectionListener.EndPoint;
Internal\KestrelServerImpl.cs (1)
185var configuredEndpoint = options.EndPoint;
KestrelServerOptions.cs (4)
497Listen((EndPoint)endPoint); 504public void Listen(EndPoint endPoint) 515Listen((EndPoint)endPoint, configure); 522public void Listen(EndPoint endPoint, Action<ListenOptions> configure)
ListenOptions.cs (3)
25internal ListenOptions(EndPoint endPoint) 46/// Gets the <see cref="System.Net.EndPoint"/>. 48public EndPoint EndPoint { get; internal set; }
Middleware\LoggingMultiplexedConnectionMiddleware.cs (4)
79public override EndPoint? LocalEndPoint { get => _inner.LocalEndPoint; set => _inner.LocalEndPoint = value; } 80public override EndPoint? RemoteEndPoint { get => _inner.RemoteEndPoint; set => _inner.RemoteEndPoint = value; } 125public override EndPoint? LocalEndPoint { get => _inner.LocalEndPoint; set => _inner.LocalEndPoint = value; } 126public override EndPoint? RemoteEndPoint { get => _inner.RemoteEndPoint; set => _inner.RemoteEndPoint = value; }
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (22)
ConnectionDispatcherTests.cs (1)
128public EndPoint EndPoint { get; set; }
KestrelServerTests.cs (21)
555.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>())) 556.Returns<EndPoint, CancellationToken>((e, token) => 612.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>())) 613.Returns<EndPoint, CancellationToken>((e, token) => 671.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>())) 672.Returns<EndPoint, CancellationToken>((e, token) => 807.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>())) 808.Returns<EndPoint, CancellationToken>((e, token) => 945.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>())) 946.Returns<EndPoint, CancellationToken>((e, token) => 993public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default) 995EndPoint resolvedEndPoint = endpoint; 1015public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default) 1023public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default) 1028public bool CanBind(EndPoint endpoint) => false; 1033public ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection features = null, CancellationToken cancellationToken = default) 1038public bool CanBind(EndPoint endpoint) => false; 1045public ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection features = null, CancellationToken cancellationToken = default) 1047EndPoint resolvedEndPoint = endpoint; 1065private record BindDetail(EndPoint OriginalEndPoint, EndPoint BoundEndPoint);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (8)
InMemoryTransportBenchmark.cs (6)
108private readonly Dictionary<EndPoint, IReadOnlyList<InMemoryConnection>> _connections = 109new Dictionary<EndPoint, IReadOnlyList<InMemoryConnection>>(); 111public IReadOnlyDictionary<EndPoint, IReadOnlyList<InMemoryConnection>> Connections => _connections; 118public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default) 138public InMemoryTransport(EndPoint endpoint, IReadOnlyList<InMemoryConnection> connections) 144public EndPoint EndPoint { get; }
src\Servers\Kestrel\shared\TransportConnection.cs (2)
27public override EndPoint? LocalEndPoint { get; set; } 28public override EndPoint? RemoteEndPoint { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (5)
Internal\NamedPipeConnectionListener.cs (1)
99public EndPoint EndPoint => _endpoint;
Internal\NamedPipeTransportFactory.cs (2)
35public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default) 68public bool CanBind(EndPoint endpoint)
src\Servers\Kestrel\shared\TransportConnection.cs (2)
27public override EndPoint? LocalEndPoint { get; set; } 28public override EndPoint? RemoteEndPoint { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (8)
Internal\QuicConnectionListener.cs (2)
35EndPoint endpoint, 118public EndPoint EndPoint { get; set; }
QuicTransportFactory.cs (2)
38public async ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection? features = null, CancellationToken cancellationToken = default) 59public bool CanBind(EndPoint endpoint)
src\Servers\Kestrel\shared\TransportConnection.cs (2)
27public override EndPoint? LocalEndPoint { get; set; } 28public override EndPoint? RemoteEndPoint { get; set; }
src\Servers\Kestrel\shared\TransportMultiplexedConnection.cs (2)
21public override EndPoint? LocalEndPoint { get; set; } 22public override EndPoint? RemoteEndPoint { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
QuicTestHelpers.cs (1)
119public static QuicClientConnectionOptions CreateClientConnectionOptions(EndPoint remoteEndPoint, bool? ignoreInvalidCertificate = null)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (11)
Client\SocketConnectionFactory.cs (1)
47public async ValueTask<ConnectionContext> ConnectAsync(EndPoint endpoint, CancellationToken cancellationToken = default)
SocketConnectionListener.cs (2)
20public EndPoint EndPoint { get; private set; } 23EndPoint endpoint,
SocketTransportFactory.cs (2)
37public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default) 45public bool CanBind(EndPoint endpoint)
SocketTransportOptions.cs (4)
111public Func<EndPoint, Socket> CreateBoundListenSocket { get; set; } = CreateDefaultBoundListenSocket; 114/// Creates a default instance of <see cref="Socket"/> for the given <see cref="EndPoint"/> 119/// An <see cref="EndPoint"/>. 124public static Socket CreateDefaultBoundListenSocket(EndPoint endpoint)
src\Servers\Kestrel\shared\TransportConnection.cs (2)
27public override EndPoint? LocalEndPoint { get; set; } 28public override EndPoint? RemoteEndPoint { get; set; }
Microsoft.AspNetCore.SignalR.Client (1)
HubConnectionBuilderHttpExtensions.cs (1)
158hubConnectionBuilder.Services.AddSingleton<EndPoint, HttpConnectionOptionsDerivedHttpEndPoint>();
Microsoft.AspNetCore.SignalR.Client.Core (8)
HubConnection.cs (5)
83private readonly EndPoint _endPoint; 204/// <param name="endPoint">The <see cref="EndPoint"/> to connect to.</param> 214public HubConnection(IConnectionFactory connectionFactory, IHubProtocol protocol, EndPoint endPoint, IServiceProvider serviceProvider, ILoggerFactory loggerFactory, IRetryPolicy reconnectPolicy) 225/// <param name="endPoint">The <see cref="EndPoint"/> to connect to.</param> 233EndPoint endPoint,
HubConnectionBuilder.cs (3)
52var endPoint = serviceProvider.GetService<EndPoint>() ?? 53throw new InvalidOperationException($"Cannot create {nameof(HubConnection)} instance. An {nameof(EndPoint)} was not configured.");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (1)
73private static Func<EndPoint, ValueTask<ConnectionContext>> GetHttpConnectionFactory(string url, ILoggerFactory loggerFactory, string path, HttpTransportType transportType, TransferFormat transferFormat)
HubProtocolVersionTests.cs (1)
242public ValueTask<ConnectionContext> ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken = default)
Microsoft.AspNetCore.SignalR.Client.Tests (9)
HttpConnectionTests.Negotiate.cs (1)
459EndPoint connectedEndpoint = null;
HubConnectionTests.ConnectionLifecycle.cs (2)
82ValueTask<ConnectionContext> ConnectionFactory(EndPoint endPoint) 114ValueTask<ConnectionContext> ConnectionFactory(EndPoint endPoint)
HubConnectionTests.cs (1)
844var mockConnection = new Mock<HubConnection>(new Mock<IConnectionFactory>().Object, new Mock<IHubProtocol>().Object, new Mock<EndPoint>().Object,
HubConnectionTests.Reconnect.cs (3)
1138public async ValueTask<ConnectionContext> ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken = default) 1181public override EndPoint LocalEndPoint { get => _inner.LocalEndPoint; set => _inner.LocalEndPoint = value; } 1182public override EndPoint RemoteEndPoint { get => _inner.RemoteEndPoint; set => _inner.RemoteEndPoint = value; }
MockHubConnection.cs (2)
19EndPoint endPoint = new Mock<EndPoint>().Object;
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (5)
TestConnectionMultiplexer.cs (5)
132public EndPoint[] GetEndPoints(bool configuredOnly = false) 152public IServer GetServer(EndPoint endpoint, object asyncState = null) 317public EndPoint IdentifyEndpoint(RedisChannel channel, CommandFlags flags = CommandFlags.None) 322public Task<EndPoint> IdentifyEndpointAsync(RedisChannel channel, CommandFlags flags = CommandFlags.None) 370public EndPoint SubscribedEndpoint(RedisChannel channel)
Microsoft.AspNetCore.SignalR.Tests.Utils (3)
DelegateConnectionFactory.cs (3)
11private readonly Func<EndPoint, ValueTask<ConnectionContext>> _connectDelegate; 14public DelegateConnectionFactory(Func<EndPoint, ValueTask<ConnectionContext>> connectDelegate) 19public ValueTask<ConnectionContext> ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
Microsoft.Extensions.ServiceDiscovery (7)
Configuration\ConfigurationServiceEndpointProvider.cs (3)
194if (string.IsNullOrWhiteSpace(value) || !TryParseEndPoint(value, out var endPoint)) 202private static bool TryParseEndPoint(string value, [NotNullWhen(true)] out EndPoint? endPoint) 229private ServiceEndpoint CreateEndpoint(EndPoint endPoint)
Http\ResolvingHttpDelegatingHandler.cs (1)
63var endPoint = serviceEndpoint.EndPoint;
PassThrough\PassThroughServiceEndpointProvider.cs (1)
12internal sealed partial class PassThroughServiceEndpointProvider(ILogger logger, string serviceName, EndPoint endPoint) : IServiceEndpointProvider
PassThrough\PassThroughServiceEndpointProviderFactory.cs (2)
19if (!TryCreateEndPoint(serviceName, out var endPoint)) 29private static bool TryCreateEndPoint(string serviceName, [NotNullWhen(true)] out EndPoint? endPoint)
Microsoft.Extensions.ServiceDiscovery.Abstractions (4)
Internal\ServiceEndpointImpl.cs (2)
9internal sealed class ServiceEndpointImpl(EndPoint endPoint, IFeatureCollection? features = null) : ServiceEndpoint 11public override EndPoint EndPoint { get; } = endPoint;
ServiceEndpoint.cs (2)
18public abstract EndPoint EndPoint { get; } 31public static ServiceEndpoint Create(EndPoint endPoint, IFeatureCollection? features = null)
Microsoft.Extensions.ServiceDiscovery.Dns (2)
DnsServiceEndpointProvider.cs (1)
57ServiceEndpoint CreateEndpoint(EndPoint endPoint)
DnsSrvServiceEndpointProvider.cs (1)
67ServiceEndpoint CreateEndpoint(EndPoint endPoint)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Resolver\LoopbackDnsServer.cs (1)
57EndPoint remoteEndPoint = new IPEndPoint(IPAddress.Any, 0);
Microsoft.Extensions.ServiceDiscovery.Tests (11)
ExtensionsServicePublicApiTests.cs (1)
167EndPoint endPoint = null!;
ServiceEndpointTests.cs (10)
11public static TheoryData<EndPoint> ZeroPortEndPoints => new() 13(EndPoint)IPEndPoint.Parse("127.0.0.1:0"), 14(EndPoint)new DnsEndPoint("microsoft.com", 0), 15(EndPoint)new UriEndPoint(new Uri("https://microsoft.com")) 18public static TheoryData<EndPoint> NonZeroPortEndPoints => new() 20(EndPoint)IPEndPoint.Parse("127.0.0.1:8443"), 21(EndPoint)new DnsEndPoint("microsoft.com", 8443), 22(EndPoint)new UriEndPoint(new Uri("https://microsoft.com:8443")) 27public void ServiceEndpointToStringOmitsUnspecifiedPort(EndPoint endpoint) 36public void ServiceEndpointToStringContainsSpecifiedPort(EndPoint endpoint)
Microsoft.Gen.Logging.Generated.Tests (1)
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesSpecialTypesExtensions.cs (1)
23public EndPoint? P7 { get; set; }
netstandard (1)
netstandard.cs (1)
1087[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.EndPoint))]
Sockets.BindTests (5)
SocketTransportOptionsTests.cs (5)
24private async Task VerifySocketTransportCallsCreateBoundListenSocketAsync(EndPoint endpointToTest) 28Socket CreateListenSocket(EndPoint endpoint) 49public Task SocketTransportCallsCreateBoundListenSocketForNewEndpoints(EndPoint endpointToTest) 65public void CreateDefaultBoundListenSocket_BindsForNewEndPoints(EndPoint endpoint) 111private IHost CreateWebHost(EndPoint endpoint, Action<SocketTransportOptions> configureSocketOptions) =>
System (1)
src\libraries\shims\System\ref\System.cs (1)
616[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.EndPoint))]
System.Net (1)
System.Net.cs (1)
13[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.EndPoint))]
System.Net.Ping (2)
System\Net\NetworkInformation\Ping.RawSocket.cs (2)
435public SocketConfig(EndPoint endPoint, int timeout, PingOptions? options, bool isIPv4, ProtocolType protocolType, ushort id, byte[] sendBuffer) 446public EndPoint EndPoint;
System.Net.Primitives (2)
artifacts\obj\System.Net.Primitives\Debug\net10.0\System.Net.Primitives.notsupported.cs (2)
139public virtual System.Net.EndPoint Create(System.Net.SocketAddress socketAddress) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetPrimitives); } 295public override System.Net.EndPoint Create(System.Net.SocketAddress socketAddress) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetPrimitives); }
System.Net.Quic (1)
artifacts\obj\System.Net.Quic\Debug\net10.0\System.Net.Quic.notsupported.cs (1)
21public System.Net.EndPoint RemoteEndPoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetQuic_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemNetQuic_PlatformNotSupported); } }
System.Net.Sockets (48)
artifacts\obj\System.Net.Sockets\Debug\net10.0\System.Net.Sockets.notsupported.cs (48)
281public System.Net.EndPoint? LocalEndPoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } } 290public System.Net.EndPoint? RemoteEndPoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } } 312public System.IAsyncResult BeginConnect(System.Net.EndPoint remoteEP, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 321public System.IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 322public System.IAsyncResult BeginReceiveMessageFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 329public System.IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 330public void Bind(System.Net.EndPoint localEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 334public void Connect(System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 338public System.Threading.Tasks.Task ConnectAsync(System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 339public System.Threading.Tasks.ValueTask ConnectAsync(System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 362public int EndReceiveFrom(System.IAsyncResult asyncResult, ref System.Net.EndPoint endPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 363public int EndReceiveMessageFrom(System.IAsyncResult asyncResult, ref System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint endPoint, out System.Net.Sockets.IPPacketInformation ipPacketInformation) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 397public int ReceiveFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 398public int ReceiveFrom(byte[] buffer, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 399public int ReceiveFrom(byte[] buffer, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 400public int ReceiveFrom(byte[] buffer, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 401public int ReceiveFrom(System.Span<byte> buffer, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 402public int ReceiveFrom(System.Span<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 404public System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(System.ArraySegment<byte> buffer, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 405public System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 406public System.Threading.Tasks.ValueTask<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(System.Memory<byte> buffer, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 407public System.Threading.Tasks.ValueTask<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(System.Memory<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 410public int ReceiveMessageFrom(byte[] buffer, int offset, int size, ref System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, out System.Net.Sockets.IPPacketInformation ipPacketInformation) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 411public int ReceiveMessageFrom(System.Span<byte> buffer, ref System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, out System.Net.Sockets.IPPacketInformation ipPacketInformation) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 412public System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(System.ArraySegment<byte> buffer, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 413public System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 414public System.Threading.Tasks.ValueTask<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(System.Memory<byte> buffer, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 415public System.Threading.Tasks.ValueTask<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(System.Memory<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 443public int SendTo(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 444public int SendTo(byte[] buffer, int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 445public int SendTo(byte[] buffer, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 446public int SendTo(byte[] buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 447public int SendTo(System.ReadOnlySpan<byte> buffer, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 448public int SendTo(System.ReadOnlySpan<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 450public System.Threading.Tasks.Task<int> SendToAsync(System.ArraySegment<byte> buffer, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 451public System.Threading.Tasks.Task<int> SendToAsync(System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 453public System.Threading.Tasks.ValueTask<int> SendToAsync(System.ReadOnlyMemory<byte> buffer, System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 454public System.Threading.Tasks.ValueTask<int> SendToAsync(System.ReadOnlyMemory<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 481public System.Net.EndPoint? RemoteEndPoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } } 603public System.Net.EndPoint RemoteEndPoint; 609public System.Net.EndPoint RemoteEndPoint; 626public static System.Threading.Tasks.Task ConnectAsync(this System.Net.Sockets.Socket socket, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 628public static System.Threading.Tasks.ValueTask ConnectAsync(this System.Net.Sockets.Socket socket, System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 648public static System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(this System.Net.Sockets.Socket socket, System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 650public static System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(this System.Net.Sockets.Socket socket, System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 658public static System.Threading.Tasks.Task<int> SendToAsync(this System.Net.Sockets.Socket socket, System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } 717public System.Net.EndPoint LocalEndpoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } } 820public override System.Net.EndPoint Create(System.Net.SocketAddress socketAddress) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }