SCTP processing for data channels. More...
SCTP processing for data channels.
Implementation (based on libusrsctp) of the SCTP Data Channels. The code takes care of the SCTP association between peers and the server, and allows for sending and receiving text messages (binary stuff yet to be implemented) after that.
usrsctp library code, and as such the copyright notice that appears at the beginning of that code is ideally present here as well: http://code.google.com/p/sctp-refimpl/source/browse/trunk/KERN/usrsctp/programs/rtcweb.cDEBUG_SCTP in sctp.h. This will force this code to save all the SCTP messages being exchanged to a separate file for each session. You must choose what folder to save these files in by modifying the debug_folder variable. Once a file has been saved, you need to process it using the text2pcap tool that is usually shipped with Wireshark, e.g.:cd /path/to/sctp /usr/sbin/text2pcap -n -l 248 -D -t '%H:%M:%S.' sctp-debug-XYZ.txt sctp-debug-XYZ.pcapng /usr/sbin/wireshark sctp-debug-XYZ.pcapng