add socket example
update gitignore
.gitignore is now working