ping-pong/

directory
v1.8.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2024 License: MIT

README

ping-pong

ping-pong is a sctp example that shows how you can send/recv messages. In this example, there are 2 types of peers: ping and pong.

Ping will always send ping <seq_number> messages to pong and receive pong <seq_number> messages from pong.

Pong will always receive ping <seq_number> from ping and send pong <seq_number> messages to ping.

Instruction

Run ping and pong
Run pong
go run github.com/pion/sctp/examples/ping-pong/pong@latest
Run ping
go run github.com/pion/sctp/examples/ping-pong/ping@latest

Directories

Path Synopsis
Package main implements a simple ping-pong example
Package main implements a simple ping-pong example
Package main implements a simple ping-pong example
Package main implements a simple ping-pong example

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL