Single thread (#339)
* single thread
Based on https://github.com/sctplab/usrsctp/pull/38/commits/010fcbc6f193152607dc267c7e7e573c9bffc111
from @ccaughie
* single thread: st_client.c. remove unused variables
* Revert "single thread: st_client.c. remove unused variables"
This reverts commit 1e240a954dcadf6296b9a0f2d1299e07a9e65ca8.
* single thread: st_client.c. remove unused variable
* single thread: s/usrsctp_fire_timer/usrsctp_handle_timers
* single thread: remove duplicated functions
* single thread: remove duplicate check for SCTP_SO_IS_NBIO(so)
* single thread: s/handle_packets/handle_events
* .gitignore: ignore programs/st_client binary
* user_socket.c: remove unnecessary SB_UPCALL check
* programs/client.c: make main() return(-1) after perror()
* programs/st_client.c: trying to make it work (it does not yet)
* programs/st_client.c: replace CLOCKS_PER_SEC with gettimeofday based code
* programs/client.c: revert cosmetic changes
* programs/st_client.c: clean debug prints
* programs/meson.build: add st_client
* Fix warnings in Windows
* programs/st_client.c: use snd 0 instead of 1.
* programs/st_client.c: add usrsctp_setsockopt(s, IPPROTO_SCTP, SCTP_RECVRCVINFO, &on, sizeof(int))
14 files changed