open

Function open 

Source
pub async fn open(group: Option<SocketAddrV4>) -> Result<DuplexStream>
Expand description

Start a virtual radio and return the host’s end of the link to it. A group stands in for the radio’s own until it exits, as an unsaved write of PROP_LAN_BEARER_GROUP would.

The device runs on this thread’s LocalSet until the host’s end is dropped.