Add GITIGNORE for build files
Fix incorrect parameter reference
Don't use non-standard field sa_len of struct sockaddr