Merge pull request #1 from antonyliang/master

merging
added some socket info
basic socket
socket working
added comments for clarity