Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​Sockets.​UnixDomainSocketEndPoint
Assembly: System.Net.Sockets
Inheritance: object → EndPoint → UnixDomainSocketEndPoint
Represents a Unix Domain Socket endpoint as a path.
Properties
public
AddressFamily
AddressFamily
Gets the address family to which the endpoint belongs.
Methods
public
EndPoint
Create​(SocketAddress socketAddress)
Creates an <see cref="T:System.Net.EndPoint" /> instance from a <see cref="T:System.Net.SocketAddress" /> instance.
Returns A new <see cref="T:System.Net.EndPoint" /> instance that is initialized from the specified <see cref="T:System.Net.SocketAddress" /> instance.
socketAddress
The socket address that serves as the endpoint for a connection.
public
bool
Equals​(object obj)
Determines whether the specified object is equal to the current <see cref="T:System.Net.Sockets.UnixDomainSocketEndPoint" /> .
Returns <see langword="true" /> if the specified object is equal to the current <see cref="T:System.Net.Sockets.UnixDomainSocketEndPoint" /> ; otherwise, <see langword="false" /> .
obj
The object to compare with the current <see cref="T:System.Net.Sockets.UnixDomainSocketEndPoint" /> .
public
int
GetHashCode​()
Returns a hash value for a <see cref="T:System.Net.Sockets.UnixDomainSocketEndPoint" /> instance.
Returns An integer hash value.
public
SocketAddress
Serialize​()
Serializes endpoint information into a <see cref="T:System.Net.SocketAddress" /> instance.
Returns A <see cref="T:System.Net.SocketAddress" /> instance that contains the endpoint information.
public
string
ToString​()
Gets the path represented by this <see cref="T:System.Net.Sockets.UnixDomainSocketEndPoint" /> instance.
Returns The path represented by this <see cref="T:System.Net.Sockets.UnixDomainSocketEndPoint" /> instance.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object