close_socket
Close a network socket by ID with optional TCP reset. Remove the socket from the registry after closure.
Instructions
Close a socket and remove it from the registry. For TCP, reset=false performs a graceful FIN shutdown; reset=true attempts an abortive close (TCP RST). For UDP, reset is ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | ||
| socket_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||