# Function: createRelayLink()

```ts
function createRelayLink(url): RelayLink | null;
```

Defined in: [packages/core/src/network/relays.ts:116](https://github.com/leifriksheim/minca/blob/main/core/src/network/relays.ts#L116)

A socket to a relay, or null for a kind this library doesn't speak

## Parameters

| Parameter | Type |
| ------ | ------ |
| `url` | `string` |

## Returns

[`RelayLink`](https://minca.dev/api/core/interfaces/RelayLink.md) \| `null`
