Date: Wed, 13 Nov 2002 08:09:32 +0100 From: Michael Bretterklieber <mbretter@inode.at> To: freebsd-net@freebsd.org Subject: struct sockaddr_in - question Message-ID: <3DD1FAAC.6060707@inode.at>
next in thread | raw e-mail | index | archive | help
Hi,
the struct sockaddr_in (netinet/in.h) of FreeBSD has the member sin_len,
but other OS's don't have this structure-member. The sockaddr_in
structure declared on many systems like this:
struct sockkaddr_in {
short int sin_family;
unsigned short int sin_port;
struct in_addr sin_addr;
}
My question is do I realy need to fill this? Or is it there just for
future use?
bye,
--
------------------------------- ----------------------------------
Michael Bretterklieber - Michael.Bretterklieber@jawa.at
JAWA Management Software GmbH - http://www.jawa.at
Liebenauer Hauptstr. 200 -------------- privat ------------
A-8041 GRAZ GSM: ++43-(0)676-93 96 698
Tel: ++43-(0)316-403274-12 E-mail: mbretter@inode.at
Fax: ++43-(0)316-403274-10 http://www.inode.at/mbretter
------------------------------- ----------------------------------
"...the number of UNIX installations has grown to 10, with more
expected..." - Dennis Ritchie and Ken Thompson, June 1972
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD1FAAC.6060707>
