mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
fix(idm): reimplement packet processing algorithm (#330)
* chore(xen): rewrite event channel code * fix(idm): repair idm bugs on the file backend
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
use xenevtchn::error::Result;
|
||||
use xenevtchn::EventChannel;
|
||||
use xenevtchn::EventChannelService;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
let channel = EventChannel::open().await?;
|
||||
let channel = EventChannelService::open().await?;
|
||||
println!("channel opened");
|
||||
let port = channel.bind_unbound_port(0).await?;
|
||||
println!("port: {}", port);
|
||||
|
Reference in New Issue
Block a user