You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is required, called [*client instance*](#SocketClient-Classes).
207
+
is required, called [*client instance*](#socketclient-classes).
208
208
209
209
A class `SocketContextFactory` is used for both instances as template argument. Such a `SocketContextFactory` needs to be provided by the user and is used internally by the `SocketServer` and the `SocketClient` instances to create a concrete `SocketContext` object for each established connection.
210
210
@@ -715,7 +715,7 @@ cd <DIR>
715
715
wget -qO - https://downloads.openwrt.org/releases/23.05.0-rc2/targets/ipq40xx/generic/openwrt-sdk-23.05.0-rc2-ipq40xx-generic_gcc-12.3.0_musl_eabi.Linux-x86_64.tar.xz | tar Jx
716
716
```
717
717
718
-
to create the SDK directory `openwrt-sdk-<version>-<architecture>-<atype>_<compiler>-<cverstion>_<libc>_<abi>.Linux-x86_64` what from now on is referred as <SDK_DIR>.
718
+
to create the SDK directory `openwrt-sdk-<version>-<architecture>-<atype>_<compiler>-<cverstion>_<libc>_<abi>.Linux-x86_64` what from now on is referred as \<SDK_DIR\>.
719
719
720
720
In this example the values of the placeholder are:
721
721
@@ -1288,9 +1288,9 @@ The `const core::socket::State& state` object passed to the callback reports the
1288
1288
```cpp
1289
1289
state == core::socket::State::OK
1290
1290
```
1291
-
1291
+
1292
1292
The `ServerSocket` instance has been created successfully and is ready for accepting incoming client connections.
1293
-
1293
+
1294
1294
```cpp
1295
1295
state == core::socket::State::DISABLED
1296
1296
```
@@ -1300,13 +1300,13 @@ The `ServerSocket` instance is disabled
1300
1300
```cpp
1301
1301
state == core::socket::State::ERROR
1302
1302
```
1303
-
1303
+
1304
1304
During switching to the listening state a recoverable error has occurred. In case a *retry* is configured for this instance the listen attempt is retried automatically.
1305
-
1305
+
1306
1306
```cpp
1307
1307
state == core::socket::State::FATAL
1308
1308
```
1309
-
1309
+
1310
1310
A nonee recoverable error has occurred. No listen-retry is done.
1311
1311
1312
1312
#### Common `listen()` Methods
@@ -1465,25 +1465,25 @@ The `const core::socket::State& state` value passed to the callback reports the
1465
1465
```cpp
1466
1466
state == core::socket::State::OK
1467
1467
```
1468
-
1468
+
1469
1469
The `ClientSocket` instance has been created and connected to the peer successfully.
1470
-
1470
+
1471
1471
```cpp
1472
1472
state == core::socket::State::DISABLED
1473
1473
```
1474
-
1474
+
1475
1475
The `ClientSocket` instance is disabled
1476
-
1476
+
1477
1477
```cpp
1478
1478
state == core::socket::State::ERROR
1479
1479
```
1480
-
1480
+
1481
1481
During switching to the connected state a recoverable error has occurred. In case a *retry* is configured for this instance the connect attempt is retried automatically.
1482
-
1482
+
1483
1483
```
1484
1484
state == core::socket::State::FATAL
1485
1485
```
1486
-
1486
+
1487
1487
A non recoverable error has occurred. No connect-retry is done.
1488
1488
1489
1489
#### Common `connect()` Methods
@@ -2057,7 +2057,7 @@ One can switch between sections by just specifying a different section name.
2057
2057
2058
2058
### Configuration via a Configuration File
2059
2059
2060
-
For every application a configuration file can be generated by appending the switch `-w` or `--write-config` to the command line. Optionally `--write-config` takes a filename as value. If no filename is provided a default filename is used (see [Default Name of a Configuration File](#Default-Name-of-a-Configuration-File)).
2060
+
For every application a configuration file can be generated by appending the switch `-w` or `--write-config` to the command line. Optionally `--write-config` takes a filename as value. If no filename is provided a default filename is used (see [Default Name of a Configuration File](#default-name-of-a-configuration-file)).
0 commit comments