Add some check of return value

Check signal().
Check recv(0.
Modify setitimer().
Modify getpeername().
Merge pull request #17 from lzhang25/master

Add some error check on functions{signal(); rece();}.