<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in p3_sockets_tcp_bind.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>5d3627b7 - WASIP3 update to latest rc (#12781)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs#5d3627b7</link>
        <description>WASIP3 update to latest rc (#12781)

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs</description>
        <pubDate>Mon, 16 Mar 2026 14:43:47 +0000</pubDate>
        <dc:creator>Bailey Hayes &lt;ricochet@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>52f8f198 - Unconditionally set SO_REUSEADDR (#12597)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs#52f8f198</link>
        <description>Unconditionally set SO_REUSEADDR (#12597)

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs</description>
        <pubDate>Sun, 15 Feb 2026 16:25:01 +0000</pubDate>
        <dc:creator>Dave Bakker &lt;github@davebakker.io&gt;</dc:creator>
    </item>
<item>
        <title>62d9b187 - Run s390x CI on a native machine (#11711)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs#62d9b187</link>
        <description>Run s390x CI on a native machine (#11711)The hardware for this is provided by IBM and it&apos;s definitely faster thanQEMU. We&apos;ve still got slow jobs elsewhere but removing this as a blockeris still nice for CI times!prtest:linux-s390x

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs</description>
        <pubDate>Tue, 23 Sep 2025 20:19:25 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>5764da5f - Revamp component model stream/future host API (again) (#11515)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs#5764da5f</link>
        <description>Revamp component model stream/future host API (again) (#11515)* Revamp component model stream/future host API (again)This changes the host APIs for dealing with futures and streams from a&quot;rendezvous&quot;-style API to a callback-oriented one.Previously you would create e.g. a `StreamReader`/`StreamWriter` pair and calltheir `read` and `write` methods, respectively, and those methods would return`Future`s that resolved when the operation was matched with a corresponding`write` or `read` operation on the other end.With the new API, you instead provide a `StreamProducer` trait implementationwhe creating the stream, whose `produce` method will be called as soon as a readhappens, giving the implementation a chance to respond immediately withoutmaking the reader wait for a rendezvous.  Likewise, you can match the read endof a stream to a `StreamConsumer` to respond immediately to writes.  This modelshould reduce scheduling overhead and make it easier to e.g. pipe items to/from`AsyncWrite`/`AsyncRead` or `Sink`/`Stream` implementations without needing toexplicitly spawn background tasks.  In addition, the new API provides directaccess to guest read and write buffers for `stream&lt;u8&gt;` operations, enablingzero-copy operations.Other changes:- I&apos;ve removed the `HostTaskOutput`; we were using it to run extra code with  access to the store after a host task completes, but we can do that more  elegantly inside the future using `tls::get`.  This also allowed me to  simplify `Instance::poll_until` a bit.- I&apos;ve removed the `watch_{reader,writer}` functionality; it&apos;s not needed now  given that the runtime will automatically dispose of the producer or consumer  when the other end of the stream or future is closed -- no need for embedder  code to manage that.- In order to make `UntypedWriteBuffer` `Send`, I had to wrap its raw pointer  `buf` field in a `SendSyncPtr`.- I&apos;ve removed `{Future,Stream}Writer` entirely and moved  `Instance::{future,stream}` to `{Future,Stream}Reader::new`, respectively.- I&apos;ve added a bounds check to the beginnings of `Instance::guest_read` and  `Instance::guest_write` so that we need not do it later in  `Guest{Source,Destination}::remaining`, meaning those functions can be  infallible.Note that I haven&apos;t updated `wasmtime-wasi` yet to match; that will happen inone or more follow-up commits.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* Add `Accessor::getter`, rename `with_data` to `with_getter`* fixup bindgen invocationSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* add support for zero-length writes/reads to/from hostI&apos;ve added a test to cover this; it also tests direct buffer access for`stream&lt;u8&gt;`, which I realized I forgot to cover earlier.  And of course therewas a bug :facepalm:.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* add `{Destination,Source}::remaining` methodsThis can help `Stream{Producer,Consumer}` implementations determine how manyitems to write or read, respectively.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* wasi: migrate sockets to new APISigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* tests: read the socket stream until EOFSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* p3-sockets: account for cancellationSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* p3-sockets: mostly ensure byte buffer cancellation-safetySigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* p3-filesystem: switch to new APISigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* fixup! p3-sockets: mostly ensure byte buffer cancellation-safety* p3-cli: switch to new APISigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* p3: limit maximum buffer sizeSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* p3-sockets: remove reuseaddr test loop workaroundSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* p3: drive I/O in `when_ready`Signed-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* fixup! p3: drive I/O in `when_ready`* Refine `Stream{Producer,Consumer}` APIsPer conversations last week with Roman, Alex, and Lann, I&apos;ve updated thesetraits to present a lower-level API based on `poll_{consume,produce}` functionsand have documented the implementation requirements for various scenarios whichhave come up in `wasmtime-wasi`, particularly around graceful cancellation.  Seethe doc comments for those functions for details.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* being integration of new APISigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* update wasi/src/p3/filesystem to use new stream APIThis is totally untested so far; I&apos;ll run the tests once we have everything elsecompiling.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* update wasi/src/p3/cli to use new stream APIThis is totally untested and doesn&apos;t even compile yet due to a lifetime issue Idon&apos;t have time to address yet.  I&apos;ll follow up later with a fix.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* fix: remove `&apos;a` bound on `&amp;self`Signed-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* finish `wasi:sockets` adaptationSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* finish `wasi:cli` adaptationNote, that this removes the read optimization - let&apos;s get theimplementation complete first and optimize laterSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* remove redundant loop in socketsSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* wasi: buffer on 0-length readsSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* finish `wasi:filesystem` adaptationSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* remove `MAX_BUFFER_CAPACITY`Signed-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor `Cursor` usageSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* impl Default for VecBufferSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor: use consistent import stylingSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* feature-gate fs Arc accessorsSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* Update test expectations---------Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;Signed-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;Co-authored-by: Alex Crichton &lt;alex@alexcrichton.com&gt;Co-authored-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs</description>
        <pubDate>Thu, 04 Sep 2025 21:12:18 +0000</pubDate>
        <dc:creator>Joel Dice &lt;joel.dice@fermyon.com&gt;</dc:creator>
    </item>
<item>
        <title>7c9f88da - Update WASIp3 wasi:sockets WITs (#11422)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs#7c9f88da</link>
        <description>Update WASIp3 wasi:sockets WITs (#11422)Brings in a few cosmetic changes to definitions to keep things up-to-date.Closes bytecodealliance/wasip3-prototyping#242

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs</description>
        <pubDate>Tue, 12 Aug 2025 20:30:32 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>7074afb6 - feat(wasip3): implement `wasi:sockets` (#11291)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs#7074afb6</link>
        <description>feat(wasip3): implement `wasi:sockets` (#11291)* chore(wasip3): update `wasi:sockets` WITpull in `wasi:sockets` fromhttps://github.com/WebAssembly/wasi-sockets/pull/126Signed-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor: rearrange Ctx/ViewSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor: name modules after packagesSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor: move `Network` to `p2`Signed-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* feat(wasip3): implement `wasi:sockets`Signed-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor: reuse socket utilitiesSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* test(wasip3): allow name resolution to failSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* fix: expect macos-only var to be unused on other OSesSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor: whole buffer is written for UDPSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* undo non-blocking writeSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* extract buf capacity const, refactor tcp receiveSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* introduce container struct for TCP non-inherited optsSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* handle `listen` receiver closeSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor: clean upSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* adapt to API changesprtest:fullSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* refactor: check for listen receiver close each iterationSigned-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;* Try to make test less flaky* Cut down on `#[cfg]` required for wasi:sockets* Fix test for real this time---------Signed-off-by: Roman Volosatovs &lt;rvolosatovs@riseup.net&gt;Co-authored-by: Alex Crichton &lt;alex@alexcrichton.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/test-programs/src/bin/p3_sockets_tcp_bind.rs</description>
        <pubDate>Tue, 29 Jul 2025 23:35:32 +0000</pubDate>
        <dc:creator>Roman Volosatovs &lt;rvolosatovs@users.noreply.github.com&gt;</dc:creator>
    </item>
</channel>
</rss>
