Skip to content

localsocket as a two-way on windows #30

Answered by kotauskas
KawaiiSelbst asked this question in Q&A
Discussion options

You must be logged in to vote

LocalSocket is actually duplex (fancy term for "two-way"/"bidirectional") on all platforms, as is the Tokio version of it, because Unix systems don't support having them be unidirectional. You can split the Tokio ones to perform reads and writes concurrently; update 2.0.0 will add splitting to non-async local sockets as well.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@KawaiiSelbst
Comment options

@kotauskas
Comment options

Answer selected by kotauskas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants