update gitignore
fix some connect status issue
Merge pull request #3 from DaidoujiChen/master

狀態的一些更正(issue #2)