Skip to content

Commit 14ea8f2

Browse files
committed
Add TOC
1 parent 1790d6d commit 14ea8f2

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ Among others, multicast networking is the basis for:
1212
* HTTPU/HTTPMU (Multicast and Unicast UDP HTTP Messages)
1313
* UPNP/SSDP (Univeral Plug and Play / Simple Service Discovery Protocol).
1414

15+
**Table of Contents**
16+
17+
* [Quickstart example](#quickstart-example)
18+
* [Usage](#usage)
19+
* [Factory](#factory)
20+
* [createSender()](#createsender)
21+
* [createReceiver()](#createreceiver)
22+
* [Socket](#socket)
23+
* [Install](#install)
24+
* [License](#license)
25+
1526
> Note: This project is in beta stage! Feel free to report any issues you encounter.
1627
1728
## Quickstart example
@@ -76,7 +87,7 @@ $socket = $factory->createReceiver('224.10.20.30:4050');
7687
$socket->on('message', function ($data, $remote) use ($socket) {
7788
echo 'Sending back ' . strlen($data) . ' bytes to ' . $remote . PHP_EOL;
7889

79-
// send a unitcast reply to the remote
90+
// send a unicast reply to the remote
8091
$socket->send($data, $remote);
8192
});
8293
```

0 commit comments

Comments
 (0)