Skip to content

Commit 41d0de8

Browse files
authored
Update links in wasi-sockets documentation to point to WASI (#883)
1 parent b20b21c commit 41d0de8

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

proposals/sockets/Posix-compatibility.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -598,11 +598,11 @@ Legend:
598598
[79]: https://github.com/WebAssembly/wasi-sockets/issues/79
599599
[80]: https://github.com/WebAssembly/wasi-sockets/issues/80
600600
[81]: https://github.com/WebAssembly/wasi-sockets/issues/81
601-
[ip-name-lookup]: https://github.com/WebAssembly/wasi-sockets/blob/main/wit/ip-name-lookup.wit
602-
[tcp-create-socket]: https://github.com/WebAssembly/wasi-sockets/blob/main/wit/tcp-create-socket.wit
603-
[tcp]: https://github.com/WebAssembly/wasi-sockets/blob/main/wit/tcp.wit
604-
[udp-create-socket]: https://github.com/WebAssembly/wasi-sockets/blob/main/wit/udp-create-socket.wit
605-
[udp]: https://github.com/WebAssembly/wasi-sockets/blob/main/wit/udp.wit
601+
[ip-name-lookup]: https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/wit/ip-name-lookup.wit
602+
[tcp-create-socket]: https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/wit/tcp-create-socket.wit
603+
[tcp]: https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/wit/tcp.wit
604+
[udp-create-socket]: https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/wit/udp-create-socket.wit
605+
[udp]: https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/wit/udp.wit
606606
[poll]: https://github.com/WebAssembly/wasi-poll/blob/main/wit/poll.wit
607607
[streams]: https://github.com/WebAssembly/wasi-io/blob/main/wit/streams.wit
608608
****

proposals/sockets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ IPv6 sockets returned by this proposal are never dualstack because that can't ea
142142

143143
This behaviour is deemed acceptable because all existing applications that are truly cross-platform must already handle this scenario. Dualstack support can be part of a future proposal adding it as an opt-in feature.
144144

145-
Related issue: [Emulate dualstack sockets in userspace](https://github.com/WebAssembly/wasi-sockets/issues/1)
145+
Related issue: [Emulate dualstack sockets in userspace](https://github.com/WebAssembly/WASI/issues/747)
146146

147147
#### Modularity
148148

proposals/sockets/imports.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ elapsed from the time this function is invoked.</p>
12111211
<li><code>connect-in-progress</code></li>
12121212
<li><code>connected</code></li>
12131213
<li><code>closed</code>
1214-
See <a href="https://github.com/WebAssembly/wasi-sockets/blob/main/TcpSocketOperationalSemantics.md">https://github.com/WebAssembly/wasi-sockets/blob/main/TcpSocketOperationalSemantics.md</a>
1214+
See <a href="https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/TcpSocketOperationalSemantics.md">https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/TcpSocketOperationalSemantics.md</a>
12151215
for more information.</li>
12161216
</ul>
12171217
<p>Note: Except where explicitly mentioned, whenever this documentation uses
@@ -1701,7 +1701,7 @@ their success or failure, after which the method can be retried.</p>
17011701
in progress at the time of calling <code>subscribe</code> (if any). Theoretically,
17021702
<code>subscribe</code> only has to be called once per socket and can then be
17031703
(re)used for the remainder of the socket's lifetime.</p>
1704-
<p>See <a href="https://github.com/WebAssembly/wasi-sockets/blob/main/TcpSocketOperationalSemantics.md#pollable-readiness">https://github.com/WebAssembly/wasi-sockets/blob/main/TcpSocketOperationalSemantics.md#pollable-readiness</a>
1704+
<p>See <a href="https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/TcpSocketOperationalSemantics.md#pollable-readiness">https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/TcpSocketOperationalSemantics.md#pollable-readiness</a>
17051705
for more information.</p>
17061706
<p>Note: this function is here for WASI 0.2 only.
17071707
It's planned to be removed when <code>future</code> is natively supported in Preview3.</p>

proposals/sockets/wit-0.3.0-draft/types.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ interface types {
125125
/// - `connecting`
126126
/// - `connected`
127127
/// - `closed`
128-
/// See <https://github.com/WebAssembly/wasi-sockets/blob/main/TcpSocketOperationalSemantics-0.3.0-draft.md>
128+
/// See <https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/TcpSocketOperationalSemantics-0.3.0-draft.md>
129129
/// for more information.
130130
///
131131
/// Note: Except where explicitly mentioned, whenever this documentation uses

proposals/sockets/wit/tcp.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ interface tcp {
3232
/// - `connect-in-progress`
3333
/// - `connected`
3434
/// - `closed`
35-
/// See <https://github.com/WebAssembly/wasi-sockets/blob/main/TcpSocketOperationalSemantics.md>
35+
/// See <https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/TcpSocketOperationalSemantics.md>
3636
/// for more information.
3737
///
3838
/// Note: Except where explicitly mentioned, whenever this documentation uses
@@ -350,7 +350,7 @@ interface tcp {
350350
/// `subscribe` only has to be called once per socket and can then be
351351
/// (re)used for the remainder of the socket's lifetime.
352352
///
353-
/// See <https://github.com/WebAssembly/wasi-sockets/blob/main/TcpSocketOperationalSemantics.md#pollable-readiness>
353+
/// See <https://github.com/WebAssembly/WASI/blob/main/proposals/sockets/TcpSocketOperationalSemantics.md#pollable-readiness>
354354
/// for more information.
355355
///
356356
/// Note: this function is here for WASI 0.2 only.

0 commit comments

Comments
 (0)