Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 21:11:01 +0100
From:      dslb@tiscali.dk
To:        hackers@Freebsd.org
Subject:   Re: accept()
Message-ID:  <3D9FE7F60000921E@cpfe5.be.tisc.dk>

next in thread | raw e-mail | index | archive | help
On 2002.12.06 20:55 Mike Hunter wrote:

> You have to use a variable because accept may write to it (?).
> 
> From the man page:
> 
> The addrlen is a value-result parameter; it should initially contain
> the
> amount of space pointed to by addr; on return it will contain the
> actual
> length (in bytes) of the address returned.
> 
> It doesn't make sense to cast the results of sizeof to a pointer.

Ah ok, thanks.

br
socketd


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D9FE7F60000921E>