Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Transports

Xylem supports multiple transport layers for network communication.

Supported Transports

  • TCP - Reliable byte stream transport
  • UDP - Unreliable datagram transport
  • Unix Domain Sockets - Local inter-process communication

Transport Selection

Specify the transport explicitly in your TOML profile configuration:

[target]
protocol = "redis"
transport = "tcp"
address = "localhost:6379"

# or, for a Unix socket:
[target]
protocol = "redis"
transport = "unix"
address = "/var/run/redis.sock"

See Also