MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / tcp

Function tcp

crates/openshell-supervisor-process/src/supervisor_session.rs:670–675  ·  view source on GitHub ↗
(host: &str, port: u32)

Source from the content-addressed store, hash-verified

668 use super::*;
669
670 fn tcp(host: &str, port: u32) -> TcpRelayTarget {
671 TcpRelayTarget {
672 host: host.to_string(),
673 port,
674 }
675 }
676
677 #[test]
678 fn tcp_target_allows_loopback_hosts() {

Calls

no outgoing calls