Expand description
TCP Socket Operations for Seq
Provides non-blocking TCP socket operations using May’s coroutine-aware I/O. All operations yield the strand instead of blocking the OS thread.
These functions are exported with C ABI for LLVM codegen.
Re-exports§
pub use patch_seq_tcp_accept as tcp_accept;pub use patch_seq_tcp_close as tcp_close;pub use patch_seq_tcp_listen as tcp_listen;pub use patch_seq_tcp_read as tcp_read;pub use patch_seq_tcp_write as tcp_write;
Functions§
- patch_
seq_ ⚠tcp_ accept - TCP accept a connection
- patch_
seq_ ⚠tcp_ close - TCP close a socket
- patch_
seq_ ⚠tcp_ listen - TCP listen on a port
- patch_
seq_ ⚠tcp_ read - TCP read from a socket
- patch_
seq_ ⚠tcp_ write - TCP write to a socket