mirror of
https://github.com/rottenwheel/hugo-rottenwheel.git
synced 2024-11-10 06:03:28 +01:00
7 lines
1.6 KiB
XML
7 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on rottenblog</title><link>https://blog.rottenwheel.com/posts/</link><description>Recent content in Posts on rottenblog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 05 Oct 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.rottenwheel.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>testing</title><link>https://blog.rottenwheel.com/posts/testing/</link><pubDate>Sat, 05 Oct 2024 00:00:00 +0000</pubDate><guid>https://blog.rottenwheel.com/posts/testing/</guid><description><p>Check, check&hellip; <em>1&hellip; 2&hellip; 3&hellip;</em> Over.</p></description></item><item><title>Example post</title><link>https://blog.rottenwheel.com/posts/post-1/</link><pubDate>Fri, 28 Jan 2022 03:00:00 +0300</pubDate><guid>https://blog.rottenwheel.com/posts/post-1/</guid><description><p>What you need to do is:</p>
|
|
<ol>
|
|
<li>Create the sockets.</li>
|
|
<li>Add the sockets to the set (<code>FD_SET</code>).</li>
|
|
<li>Find the socket with the highest file descriptor for calls to select().</li>
|
|
</ol>
|
|
<p>Above also works with different type sockets (e.g. <code>AF_INET</code>, <code>AF_INET6</code>). It even works if you have different type sockets (e.g. one IPv4 and one IPv6) listening on the same port number. Dual stack sockets are a thing but this approach is more flexible.</p></description></item></channel></rss> |