Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions proposals/sockets/wit-0.3.0-draft/types.wit
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,12 @@ interface types {
/// In either case, the stream returned by this `listen` method remains
/// operational.
///
/// WASI requires `listen` to perform an implicit bind if the socket
/// has not already been bound. Not all platforms (notably Windows)
/// exhibit this behavior out of the box. On platforms that require it,
/// the WASI implementation can emulate this behavior by performing
/// the bind itself if the guest hasn't already done so.
///
/// # References
/// - <https://pubs.opengroup.org/onlinepubs/9699919799/functions/listen.html>
/// - <https://pubs.opengroup.org/onlinepubs/9699919799/functions/accept.html>
Expand Down