[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sun_len - what is it and why doesnt it exist?



Hi, while looking through some of the code for epic4, I noticed a
reference to sun_len that I recall causing some troubles in the past.

It seems to regard the size of a sockaddr_un, in other words, the
struct that defines a unix domain socket.

The networking Stevens book defines it as:

struct sockaddr_un {
	shourt sun_family;
	char sun_path[108];
};

Which is the same thing I find on my libc5 linux box, my coworker's
slowlaris box, an IRIX box here.  I don't have access to any BSD
boxes, and I'm getting the impression that it's a BSDism (the program
is developed on a SunOS box, I believe).

Could anyone send me a sockaddr_un definition from a BSD box, or shed
other light on this problem?

Thanks,
-- 
David Welton                          http://www.efn.org/~davidw 

	Debian GNU/Linux - www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: