Path: utzoo!attcan!uunet!mcsun!ukc!strath-cs!baird!jim From: jim@cs.strath.ac.uk (Jim Reid) Newsgroups: comp.unix.questions Subject: Re: What is sin_zero for? Message-ID: Date: 17 Oct 90 16:45:26 GMT References: Sender: jim@cs.strath.ac.uk Distribution: comp Organization: Computer Science Dept., Strathclyde Univ., Glasgow, Scotland. Lines: 12 In-reply-to: mjd@saul.cis.upenn.edu's message of 16 Oct 90 17:07:39 GMT In article mjd@saul.cis.upenn.edu (Mark-Jason Dominus) writes: The defininition of struct sockaddr_in in the files on our suns has four members, one of which is char sin_zero[8]; What is it for? Nothing. It's purely to pad out the sockaddr_in struct to 16 bytes, the size of the generic sockaddr structure in . Jim