ping-pong

command
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 7 Imported by: 0

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

Build ping and pong
make
Run pong
./pong
Run ping
./ping

Documentation

Overview

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