Hi,
I happened to read up on some nix sockets and I'm kinda hooked.
The sample scripts often mentioning about zero-ing up the structs of sockaddr_in.
Are there any reasons that remaining portions of structs be "Zeroed"?Code:memset(&(my_addr.sin_zero), ’\0’, 8); // zero the rest of the struct
Thanks and Regards,
Steven.