Skip to content

Commit d71661e

Browse files
BerrysoftCopilot
andauthored
refactor(net)!: add TcpSocket & UnixSocket (#817)
* refactor(net)!: add TcpSocket & UnixSocket * fix(net): apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix(net): listen i32 * feat(net): config methods for UdpSocket * docs(net): comments for new socket types --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2215672 commit d71661e

7 files changed

Lines changed: 742 additions & 278 deletions

File tree

compio-net/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
)]
1616

1717
mod incoming;
18-
mod opts;
1918
mod resolve;
2019
mod socket;
2120
pub(crate) mod split;
@@ -48,7 +47,6 @@ pub type CMsgBuilder<'a> = compio_io::ancillary::CMsgBuilder<'a>;
4847
#[deprecated(since = "0.12.0", note = "Use `compio::runtime::fd::PollFd` instead")]
4948
pub type PollFd<T> = compio_runtime::fd::PollFd<T>;
5049
pub(crate) use incoming::*;
51-
pub use opts::SocketOpts;
5250
pub use resolve::ToSocketAddrsAsync;
5351
pub(crate) use resolve::{each_addr, first_addr_buf, first_addr_buf_zerocopy};
5452
pub(crate) use socket::*;

compio-net/src/opts.rs

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)