# socketDisconnect

## Description

Disconnects a TCP connection through a socket.

## Input / Parameter

| Name | Description                 | Input Type  | Default | Options | Required |
| ---- | --------------------------- | ----------- | ------- | ------- | -------- |
| type | The type of connection.     | String/Text | -       | -       | Yes      |
| name | The name of the connection. | String/Text | default | -       | No       |

## Output

N/A

## Callback

### callback

The function to be executed if the connection is removed successfully.

### errorCallback

The function to be executed if the connection is not removed successfully.

## Video

Coming Soon.

## Example

TCP connection will be disconnected. See `socketConnect` for more information.

## Links
