From 14fcfb334e8c25493fd47ba295d9d0c2a6af06f1 Mon Sep 17 00:00:00 2001 From: rottenwheel Date: Wed, 4 Sep 2024 04:07:59 +0000 Subject: [PATCH] deploy: bc93da75ee2c9c8acf766b64b637ea97f26bc37e --- index.xml | 9 +++++++-- posts/index.xml | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/index.xml b/index.xml index ca8ec5f..d1300e6 100644 --- a/index.xml +++ b/index.xml @@ -1,2 +1,7 @@ -rottenbloghttps://blog.rottenwheel.com/Recent content on rottenblogHugoen-usFri, 28 Jan 2022 03:00:00 +0300Example posthttps://blog.rottenwheel.com/posts/post-1/Fri, 28 Jan 2022 03:00:00 +0300https://blog.rottenwheel.com/posts/post-1/What you need to do is: -Create the sockets. Add the sockets to the set (FD_SET). Find the socket with the highest file descriptor for calls to select(). Above also works with different type sockets (e.g. AF_INET, AF_INET6). 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. \ No newline at end of file +rottenbloghttps://blog.rottenwheel.com/Recent content on rottenblogHugoen-usFri, 28 Jan 2022 03:00:00 +0300Example posthttps://blog.rottenwheel.com/posts/post-1/Fri, 28 Jan 2022 03:00:00 +0300https://blog.rottenwheel.com/posts/post-1/<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> \ No newline at end of file diff --git a/posts/index.xml b/posts/index.xml index 291d4fd..0c3b7e2 100644 --- a/posts/index.xml +++ b/posts/index.xml @@ -1,2 +1,7 @@ -Posts on rottenbloghttps://blog.rottenwheel.com/posts/Recent content in Posts on rottenblogHugoen-usFri, 28 Jan 2022 03:00:00 +0300Example posthttps://blog.rottenwheel.com/posts/post-1/Fri, 28 Jan 2022 03:00:00 +0300https://blog.rottenwheel.com/posts/post-1/What you need to do is: -Create the sockets. Add the sockets to the set (FD_SET). Find the socket with the highest file descriptor for calls to select(). Above also works with different type sockets (e.g. AF_INET, AF_INET6). 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. \ No newline at end of file +Posts on rottenbloghttps://blog.rottenwheel.com/posts/Recent content in Posts on rottenblogHugoen-usFri, 28 Jan 2022 03:00:00 +0300Example posthttps://blog.rottenwheel.com/posts/post-1/Fri, 28 Jan 2022 03:00:00 +0300https://blog.rottenwheel.com/posts/post-1/<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> \ No newline at end of file