Skip to content

Repository for SCTP example programs and their UDP and/or TCP equivalent

License

Notifications You must be signed in to change notification settings

cyberroadie/sctp-examples

Repository files navigation

Repository for SCTP example programs and their UDP and/or TCP equivalent

OS Support

FreeBSD

The reference implementation of SCTP is on FreeBSD, so all programs are guarenteed to work on this OS.

OS X

The reference implementation gets ported frequently to the latest version of Mac OS X: install instructions. All programs should also work on this OS.

Once everything is installed the driver kan be loaded with the follwoing command:

sudo kextload /System/Library/Extensions/SCTP.kext

Linux

No guaranteed support. SCTP Linux driver developement

Microsoft Windows

No guaranteed support. SCTP Windows driver development

Example programs

Every category also has a TCP implementation for comparison.

Simple Echo: Client - Server

  1. Clients send a single message
  2. Server echos message back
  3. Client prints message
  4. Client closes

Multi Echo: Client - Server

Multi threaded client, keeps sending messages to server

File Upload: Client - Server

Uploading a PNG picture file.

Multi File Upload: Client - Server

Uploading multiple files over multiple channels.

Binary protocol: Client - Server

Simple binary protocol

Streaming audio

Stream audio from single client to multiple clients via server.

About

Repository for SCTP example programs and their UDP and/or TCP equivalent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published