Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
echo
command
Command echo runs a quiet TCP echo server for load testing.
|
Command echo runs a quiet TCP echo server for load testing. |
|
Command echosvr echoes every connection, prints its lifecycle, and shows the smallest working handler: WriteTo(c) moves what arrived straight back.
|
Command echosvr echoes every connection, prints its lifecycle, and shows the smallest working handler: WriteTo(c) moves what arrived straight back. |
|
Command holepunch demonstrates establishing a KCP+TLS session between two UDP peers from their bound ports — the hole-punching flow that uio's layered PacketListener.DialPeer enables.
|
Command holepunch demonstrates establishing a KCP+TLS session between two UDP peers from their bound ports — the hole-punching flow that uio's layered PacketListener.DialPeer enables. |
|
Command httpsvr serves net/http handlers on uio: uhttp is a small HTTP/1.1 server whose connections are uio's, so no goroutine serves a request.
|
Command httpsvr serves net/http handlers on uio: uhttp is a small HTTP/1.1 server whose connections are uio's, so no goroutine serves a request. |
|
Command kcp is the smallest KCP hello-world example: a UDP listener and a UDP dialer each attach ukcp as a uio.Layer, turning unreliable datagrams into a reliable byte stream.
|
Command kcp is the smallest KCP hello-world example: a UDP listener and a UDP dialer each attach ukcp as a uio.Layer, turning unreliable datagrams into a reliable byte stream. |
|
Command kcpecho runs a quiet KCP-over-UDP echo server for external load testing.
|
Command kcpecho runs a quiet KCP-over-UDP echo server for external load testing. |
|
Command matryoshka sends one hello world through a doll of different protocols, one shell inside another, over a single UDP socket:
|
Command matryoshka sends one hello world through a doll of different protocols, one shell inside another, over a single UDP socket: |
|
Command socks runs a SOCKS5 proxy server (RFC 1928, RFC 1929) built on uio and ubridge: the usocks handshake layer negotiates and authenticates each client, then ubridge relays it to the requested target with backpressure and half-close passthrough.
|
Command socks runs a SOCKS5 proxy server (RFC 1928, RFC 1929) built on uio and ubridge: the usocks handshake layer negotiates and authenticates each client, then ubridge relays it to the requested target with backpressure and half-close passthrough. |
|
Umux-tunnel relays TCP through one multiplexed transport: the agent dials the relay and keeps that transport open; every user connection the relay accepts becomes one umux stream on it, and the agent bridges the stream to its local service.
|
Umux-tunnel relays TCP through one multiplexed transport: the agent dials the relay and keeps that transport open; every user connection the relay accepts becomes one umux stream on it, and the agent bridges the stream to its local service. |
|
Xorlayer shows a uio layer stack with a plain TCP peer that does the same XOR by hand, so what each layer does is visible from both ends of the wire:
|
Xorlayer shows a uio layer stack with a plain TCP peer that does the same XOR by hand, so what each layer does is visible from both ends of the wire: |
Click to show internal directories.
Click to hide internal directories.