# Example: Hello World

This package includes a demo. You can [view source on GitHub](https://brianbuccaneer.gitbook.io/bottlenose/v0.7.0/sources-and-sinks/rxsocketio/guides/demo) and adapt it to your purposes. Or you can follow these instructions to run it in the bottlenose repository:

First, clone the source code:

```bash
git clone https://github.com/buccaneerai/bottlenose.git
```

Then build the packages in bottlenose:

```bash
cd bottlenose
yarn bootstrap
```

Run a Socket.io server:

```bash
cd packages/rxsocketio
node ./demo/server.js
```

You should now see the server listining on port 3000!

In another window (in the same working directory):

```bash
cd packages/rxsocketio
node ./demo/client.js
```

Now your client should connect to the server to send and receive messages! In the client logs, you should see it logging messages that it receives from the server. In the server logs, you should it logging messages it receives from the client.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://brianbuccaneer.gitbook.io/bottlenose/v0.7.0/sources-and-sinks/rxsocketio/guides/demo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
