Lua SCTP Client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
LuaSCTP.c
LuaSCTPServer.c
README.md
test.lua
testServer.lua

README.md

Lua SCTP Client

Send and receive data via SCTP from Lua.

Prerequisites

Clone, make and install SCTP user-land implementation (usrsctp)

It may be necessary to

export LD_LIBRARY_PATH=/usr/local/lib

Compilation

gcc -Wall -o LuaSCTP LuaSCTP.c -lusrsctp -llua5.3

Test

  1. Run usrsctp echo_server

     ../usrsctp/programs/echo_server 11111 22222
    
  2. Run LuaSCTP with test.lua

     ./LuaSCTP test.lua