Skip to content

Latest commit

 

History

History
 
 

ping-pong

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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