tcp-outlet create


ockam tcp-outlet create [OPTIONS] --to <SOCKET_ADDRESS>

Create a TCP Outlet

Options

  • --at [NODE] (optional)
    Node on which to start the tcp outlet

  • --from [OUTLET_ADDRESS] (optional)
    Address of the tcp outlet

  • --to <SOCKET_ADDRESS>
    TCP address to send raw tcp traffic

  • --alias [ALIAS] (optional)
    Assign a name to this outlet

Examples

# To create a new TCP outlet at the given address using the default node
$ ockam tcp-outlet create --to 127.0.0.1:5000

# To create a new TCP outlet at the given address using a specific node
$ ockam tcp-outlet create --at n1 --to 127.0.0.1:5000