Class ProxyListenException
A listening socket could not be bound. The message names the endpoint and the reason.
Implements
Inherited Members
Namespace: Titanium.Web.Proxy.Exceptions
Assembly: Titanium.Web.Proxy.dll
Syntax
public sealed class ProxyListenException : ProxyException, ISerializable
Constructors
| Edit this page View SourceProxyListenException(string, IPAddress, int, SocketException)
Initializes a new instance of the ProxyListenException class.
Declaration
public ProxyListenException(string endpointKind, IPAddress ipAddress, int port, SocketException inner)
Parameters
| Type | Name | Description |
|---|---|---|
| string | endpointKind | |
| IPAddress | ipAddress | |
| int | port | |
| SocketException | inner |
Properties
| Edit this page View SourceEndpointKind
Listener kind, such as explicit or transparent.
Declaration
public string EndpointKind { get; }
Property Value
| Type | Description |
|---|---|
| string |
IpAddress
Address that could not be bound.
Declaration
public IPAddress IpAddress { get; }
Property Value
| Type | Description |
|---|---|
| IPAddress |
IsAddressInUse
True when the port is already taken.
Declaration
public bool IsAddressInUse { get; }
Property Value
| Type | Description |
|---|---|
| bool |
NativeErrorCode
Platform error code (WSAEADDRINUSE is 10048, EADDRINUSE is 98).
Declaration
public int NativeErrorCode { get; }
Property Value
| Type | Description |
|---|---|
| int |
Port
Port that could not be bound.
Declaration
public int Port { get; }
Property Value
| Type | Description |
|---|---|
| int |
SocketError
Socket error reported by the bind.
Declaration
public SocketError SocketError { get; }
Property Value
| Type | Description |
|---|---|
| SocketError |