Function seec_channel::tcp::new_local_pair
source · pub async fn new_local_pair<T: RemoteSend>(
port: Option<u16>
) -> Result<(TrackingChannel<T>, TrackingChannel<T>), Error>
Expand description
For testing purposes. Create two parties communicating via TcpStreams on localhost:port If None is supplied, a random available port is selected