Important
The functionality defined in this class is only available on Linux kernels that support the
AF_VSOCK address family.
public class VSockEndPoint : EndPointPublic Class VSockEndPoint
Inherits EndPointpublic ref class VSockEndPoint : public EndPointtype VSockEndPoint =
class
inherit EndPoint
endVSock sockets can be used between a host and a guest virtual machine. It also provides interoperability with Hyper-V sockets for guest virtual machines running Linux on a Windows host.
| VSockEndPoint | Initializes a new instance of the VSockEndPoint class. |
| AddressFamily |
Gets the address family to which the endpoint belongs.
(Overrides EndPointAddressFamily) |
| ContextId | Gets or sets the context ID identifying the destination. |
| Port | Gets or sets the port number. |
| ToHost | Gets or sets a value which indicates that VSock packets need to always be forwarded to the host. |
| Create |
Creates an EndPoint instance from a SocketAddress instance.
(Overrides EndPointCreate(SocketAddress)) |
| Equals | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object)) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Serialize |
Serializes endpoint information into a SocketAddress instance.
(Overrides EndPointSerialize) |
| ToString | Returns a string that represents the current object. (Overrides ObjectToString) |