---
title: "IO.SocketClient"
description: "IO socket client prototype."
canonical_url: "https://www.zeyos.com/zymba/ref/io/io-socketclient"
markdown_url: "https://www.zeyos.com/ai/guide/zymba/ref/io/io-socketclient.md"
section: "zymba-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/zymbaref.json"
source_sha256: "05a361c6ddc32e74f4a6dc16fd06f218210ff1b7ce57f26ca1994bfffc407915"
---

# IO.SocketClient

## IO.SocketClient

```
object @IO.SocketClient(@IO.SocketStream) {
	construct(string $endpoint, int $timeout) {}
}
```

**IO socket client prototype.**

### Prototype

**[IO.SocketStream](#)**

## Methods


### `$this.construct()`


```code
$this.construct(string $endpoint, int $timeout): void
```

##### Parameters

| Name | Type | Value | Default |
| --- | --- | --- | --- |
| endpoint | `string`  |  | "" |
| timeout | `int`  |  | 60 |
