directory
Version:
v1.8.19
Opens a new window with list of versions in this module.
Published: Jul 6, 2024
License: MIT
Opens a new window with license information.
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
¶
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 |
Click to show internal directories.
Click to hide internal directories.