use libwisp::{WispContext, WispSetConnectionType, WispGetConnectionType, ConnectionType, WispClose};
use tokio;
#[tokio::main]
async fn main() {
let mut ctx = WispContext::new();
WispSetConnectionType(&mut ctx, ConnectionType::Udp);
let conn_type = WispGetConnectionType(&ctx);
println!("current connection type: {:?}", conn_type);
WispClose(&mut ctx).await;
}