@@ -15,8 +15,9 @@ Really this library is not that big of a deal and most sources suggest using a l
1515- Windows
1616
1717## To Build
18- - ` simple_cpp_sockets.h ` is header-only (just include it in your project).
19- - To build and run the test application on Linux:
18+ - The library ` simple_cpp_sockets.h ` is header-only (just include it in your project).
19+
20+ - To build and run the test application on Linux open a terminal and run:
2021 - ` cd src `
2122 - ` g++ main.cpp -o main `
2223 - ` ./main `
@@ -29,12 +30,10 @@ Really this library is not that big of a deal and most sources suggest using a l
2930## Functionality
3031` main.cpp ` is a simple functioning example (not all errors are handled gracefully).
3132
32- Run the compiled demo application from the command line.
33- It is a CLI that allows you to interactively make a:
34-
35- UDP or TCP
33+ The compiled test application is a CLI that allows you to interactively create a:
3634
37- server or client
35+ - UDP or TCP
36+ - server or client
3837
3938By asking for:
4039- protocol
@@ -50,18 +49,18 @@ If server:
5049
5150
5251## To Use
53- simple_cpp_sockets.h contains classes for UDP and TCP servers and clients.
52+ ` simple_cpp_sockets.h ` contains classes for UDP and TCP servers and clients.
5453
5554An example looks like:
5655```
5756UDPServer server(socket_port);
5857int bind_status = server.socket_bind();
5958```
60- Look at main.cpp for the complete needed code .
59+ Look at ` main.cpp ` for the a complete example .
6160
6261## Project Structure
6362- ` src/simple_cpp_sockets.h ` is the library
64- - ` src/main.cpp ` is a simple demo application
63+ - ` src/main.cpp ` is a demo application
6564
6665## Extra Notes
6766- There is [ a lot more that could be done] ( http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html ) but this is outside the goals of this project
0 commit comments