Add check and use sigaction, fix bug signal_s define and type compare warnning.
Merge branch 'master' of https://github.com/soarpenguin/tcpcopy