Deployed c28b569 with MkDocs version: 1.2.3
				
					
				
			This commit is contained in:
		| @@ -119,7 +119,7 @@ | |||||||
| <p>Connections can be optionally secured and encrypted with TLS/SSL when using a wss:// endpoint, or using normal un-encrypted socket with ws:// endpoints. AppleSSL is used on iOS and macOS, OpenSSL and mbedTLS can be used on Android, Linux and Windows.</p> | <p>Connections can be optionally secured and encrypted with TLS/SSL when using a wss:// endpoint, or using normal un-encrypted socket with ws:// endpoints. AppleSSL is used on iOS and macOS, OpenSSL and mbedTLS can be used on Android, Linux and Windows.</p> | ||||||
| <p>If you are using OpenSSL, try to be on a version higher than 1.1.x as there there are thread safety problems with 1.0.x.</p> | <p>If you are using OpenSSL, try to be on a version higher than 1.1.x as there there are thread safety problems with 1.0.x.</p> | ||||||
| <h3 id="polling-and-background-thread-work">Polling and background thread work</h3> | <h3 id="polling-and-background-thread-work">Polling and background thread work</h3> | ||||||
| <p>No manual polling to fetch data is required. Data is sent and received instantly by using a background thread for receiving data and the select <a href="http://man7.org/linux/man-pages/man2/select.2.html">system</a> call to be notified by the OS of incoming data. No timeout is used for select so that the background thread is only woken up when data is available, to optimize battery life. This is also the recommended way of using select according to the select tutorial, section <a href="https://linux.die.net/man/2/select_tut">select law</a>. Read and Writes to the socket are non blocking. Data is sent right away and not enqueued by writing directly to the socket, which is <a href="https://stackoverflow.com/questions/1981372/are-parallel-calls-to-send-recv-on-the-same-socket-valid">possible</a> since system socket implementations allow concurrent read/writes. However concurrent writes need to be protected with mutex.</p> | <p>No manual polling to fetch data is required. Data is sent and received instantly by using a background thread for receiving data and the select <a href="http://man7.org/linux/man-pages/man2/select.2.html">system</a> call to be notified by the OS of incoming data. No timeout is used for select so that the background thread is only woken up when data is available, to optimize battery life. This is also the recommended way of using select according to the select tutorial, section <a href="https://linux.die.net/man/2/select_tut">select law</a>. Read and Writes to the socket are non blocking. Data is sent right away and not enqueued by writing directly to the socket, which is <a href="https://stackoverflow.com/questions/1981372/are-parallel-calls-to-send-recv-on-the-same-socket-valid">possible</a> since system socket implementations allow concurrent read/writes.</p> | ||||||
| <h3 id="automatic-reconnection">Automatic reconnection</h3> | <h3 id="automatic-reconnection">Automatic reconnection</h3> | ||||||
| <p>If the remote end (server) breaks the connection, the code will try to perpetually reconnect, by using an exponential backoff strategy, capped at one retry every 10 seconds. This behavior can be disabled.</p> | <p>If the remote end (server) breaks the connection, the code will try to perpetually reconnect, by using an exponential backoff strategy, capped at one retry every 10 seconds. This behavior can be disabled.</p> | ||||||
| <h3 id="large-messages">Large messages</h3> | <h3 id="large-messages">Large messages</h3> | ||||||
|   | |||||||
| @@ -372,5 +372,5 @@ int main() | |||||||
|  |  | ||||||
| <!-- | <!-- | ||||||
| MkDocs version : 1.2.3 | MkDocs version : 1.2.3 | ||||||
| Build Date UTC : 2022-01-10 18:34:53.153739+00:00 | Build Date UTC : 2022-01-29 00:28:13.676074+00:00 | ||||||
| --> | --> | ||||||
|   | |||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										16
									
								
								sitemap.xml
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								sitemap.xml
									
									
									
									
									
								
							| @@ -2,42 +2,42 @@ | |||||||
| <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||||||
|     <url> |     <url> | ||||||
|          <loc>None</loc> |          <loc>None</loc> | ||||||
|          <lastmod>2022-01-10</lastmod> |          <lastmod>2022-01-29</lastmod> | ||||||
|          <changefreq>daily</changefreq> |          <changefreq>daily</changefreq> | ||||||
|     </url> |     </url> | ||||||
|     <url> |     <url> | ||||||
|          <loc>None</loc> |          <loc>None</loc> | ||||||
|          <lastmod>2022-01-10</lastmod> |          <lastmod>2022-01-29</lastmod> | ||||||
|          <changefreq>daily</changefreq> |          <changefreq>daily</changefreq> | ||||||
|     </url> |     </url> | ||||||
|     <url> |     <url> | ||||||
|          <loc>None</loc> |          <loc>None</loc> | ||||||
|          <lastmod>2022-01-10</lastmod> |          <lastmod>2022-01-29</lastmod> | ||||||
|          <changefreq>daily</changefreq> |          <changefreq>daily</changefreq> | ||||||
|     </url> |     </url> | ||||||
|     <url> |     <url> | ||||||
|          <loc>None</loc> |          <loc>None</loc> | ||||||
|          <lastmod>2022-01-10</lastmod> |          <lastmod>2022-01-29</lastmod> | ||||||
|          <changefreq>daily</changefreq> |          <changefreq>daily</changefreq> | ||||||
|     </url> |     </url> | ||||||
|     <url> |     <url> | ||||||
|          <loc>None</loc> |          <loc>None</loc> | ||||||
|          <lastmod>2022-01-10</lastmod> |          <lastmod>2022-01-29</lastmod> | ||||||
|          <changefreq>daily</changefreq> |          <changefreq>daily</changefreq> | ||||||
|     </url> |     </url> | ||||||
|     <url> |     <url> | ||||||
|          <loc>None</loc> |          <loc>None</loc> | ||||||
|          <lastmod>2022-01-10</lastmod> |          <lastmod>2022-01-29</lastmod> | ||||||
|          <changefreq>daily</changefreq> |          <changefreq>daily</changefreq> | ||||||
|     </url> |     </url> | ||||||
|     <url> |     <url> | ||||||
|          <loc>None</loc> |          <loc>None</loc> | ||||||
|          <lastmod>2022-01-10</lastmod> |          <lastmod>2022-01-29</lastmod> | ||||||
|          <changefreq>daily</changefreq> |          <changefreq>daily</changefreq> | ||||||
|     </url> |     </url> | ||||||
|     <url> |     <url> | ||||||
|          <loc>None</loc> |          <loc>None</loc> | ||||||
|          <lastmod>2022-01-10</lastmod> |          <lastmod>2022-01-29</lastmod> | ||||||
|          <changefreq>daily</changefreq> |          <changefreq>daily</changefreq> | ||||||
|     </url> |     </url> | ||||||
| </urlset> | </urlset> | ||||||
							
								
								
									
										
											BIN
										
									
								
								sitemap.xml.gz
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sitemap.xml.gz
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user
	