Merge pull request #1 from stangrze/master

update
Merge pull request #2 from stangrze/master

Added missing sourecefile
check valid fd before call receive
Merge pull request #1 from lazedo/master

check valid fd