tcp-inlet create
ockam tcp-inlet create [OPTIONS]
Create TCP Inlets
Options
-
--at [NODE]
(optional)
Node on which to start the tcp inlet -
--from [SOCKET_ADDRESS]
(optional)
Address on which to accept tcp connections -
--to [ROUTE]
(optional)
Route to a tcp outlet -
--authorized [AUTHORIZED]
(optional)
Authorized identity for secure channel connection -
--alias [ALIAS]
(optional)
Assign a name to this inlet -
--connection-wait [WAIT]
(optional)
Time to wait for the outlet to be available -
--retry-wait [RETRY]
(optional)
Time to wait before retrying to connect to outlet -
--timeout [TIMEOUT]
(optional)
Override default timeout
Examples
# To create a new TCP inlet at the given address using the default node
$ ockam tcp-inlet create --from 127.0.0.1:5000 --to /node/n1/service/outlet
# To create a new TCP inlet at the given address using a specific node
$ ockam tcp-inlet create --at n2 --from 127.0.0.1:5000 --to /node/n1/service/outlet