---
title: VZVirtioSocketDeviceConfiguration
framework: virtualization
role: symbol
role_heading: Class
path: virtualization/vzvirtiosocketdeviceconfiguration
---

# VZVirtioSocketDeviceConfiguration

A configuration object that requests the creation of a socket device to communicate with the guest system.

## Declaration

```swift
class VZVirtioSocketDeviceConfiguration
```

## Overview

Overview Use a VZVirtioSocketDeviceConfiguration object to implement port-based communication between the guest operating system and the host computer. When you add this object to the socketDevices property of your VZVirtualMachineConfiguration, the virtual machine provides a corresponding VZVirtioSocketDevice object to use to configure the ports. Add only one VZVirtioSocketDeviceConfiguration to your virtual machine’s configuration.

## Topics

### Creating the Configuration Object

- [init()](virtualization/vzvirtiosocketdeviceconfiguration/init().md)

## Relationships

### Inherits From

- [VZSocketDeviceConfiguration](virtualization/vzsocketdeviceconfiguration.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Configurations

- [VZSocketDeviceConfiguration](virtualization/vzsocketdeviceconfiguration.md)
