Re: unterschiedliche bind(2) Implementierung FreeBSD/Linux?

From: till toenges <tt(at)mail.isis.de>
Date: Sat, 08 Nov 2003 12:25:17 +0100

till toenges wrote:
> Matthias Teege wrote:
>
>> bind (sockfd, sa, socksize)
...
> bind(2) steht bei mir in der man page als
>
> int bind(int s, const struct sockaddr *name, int namelen);
>
> definiert. Ich interpretiere das so, dass namelen ein sizeof(struct
> sockaddr) sein soll, und nicht nur die Länge des Strings in der struct.

Das sollte wohl eher sizeof(sa) heissen, in diesem Fall. Sorry, noch
nicht ganz wach.

Till

To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 08 Nov 2003 - 12:29:22 CET

search this site