Skip to content

Commit 6f52c29

Browse files
authored
Update README.md
1 parent 4fb7ce5 commit 6f52c29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Asynchronous Sockets for C++
22
Simple, thread-based, non-blocking asynchronous Client-Server classes in C++ for TCP & UDP.
33
```cpp
4-
// Initialize socket.
4+
// Initialize a tcp socket.
55
TCPSocket tcpSocket;
66

77
// Connect to the host.
@@ -15,6 +15,7 @@ tcpSocket.Connect("127.0.0.1", 8888, [&] {
1515
Super Easy!
1616

1717
## Examples:
18+
![Examples](https://github.com/eminfedar/async-sockets-cpp/raw/development-unstable/img/programs.png)
1819
You can compile all the examples by just going in the `examples/` directory and run `make` in terminal:
1920
- [examples/tcp-client.cpp](https://github.com/eminfedar/async-sockets-cpp/blob/master/examples/tcp-client.cpp)
2021
- [examples/tcp-server.cpp](https://github.com/eminfedar/async-sockets-cpp/blob/master/examples/tcp-server.cpp)

0 commit comments

Comments
 (0)