VSockEndPointSerialize Method

Serializes endpoint information into a SocketAddress instance.

Definition

Namespace: Ookii.VmSockets
Assembly: Ookii.VmSockets (in Ookii.VmSockets.dll) Version: 1.0.0+087207370c685ccfa01d10830e6db3af2770247a
C#
public override SocketAddress Serialize()

Return Value

SocketAddress
A SocketAddress instance that contains the endpoint information.

Remarks

The returned SocketAddress will use the format of the sockaddr_vm structure.

  Important

Due to limitations in the Linux version of .Net, the SocketAddressFamily property will not return the correct value. The correct value can be obtained by reading the first two bytes of the buffer.

See Also