Nov 07, 2025 · 1 minute read

In the previous blog post I showed how to use getaddrinfo_async_start from C. However I didn’t stop there and decided to see if I can fit that into the smol async stack in Rust.

smol is a small and fast async runtime. It’s an alternative to the probably more known tokio project and is based on several smaller crates like async-io and async-net as its building blocks.

To make use of getaddrinfo_async_start I had to start at the lowest layer: rustix, the safe Rust bindings to syscalls. It didn’t know about EVFILT_MACHPORT for [kqueue…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help