apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jagunet.com>
Subject Re: apr_socket_recvfrom
Date Mon, 13 Nov 2006 15:09:57 GMT

On Nov 10, 2006, at 3:56 PM, William A. Rowe, Jr. wrote:

> Garrett Rooney wrote:
>> On 11/10/06, Jim Jagielski <jim@jagunet.com> wrote:
>>> Anyone have issues with me making from an
>>> optional argument, i.e. allowing from to be
>>> NULL and apr_socket_recvfrom() doing the Right
>>> Thing?
>>> In other words, making it more recvfrom()-like?
>> Seems reasonable to me.
> Can you splash up to the list what the new .h doxygen comments  
> would look like?

* Read data from a socket.  On success, the address of the peer from
* which the data was sent is copied into the @param from parameter if  
not NULL,
* and the @param len parameter is updated to give the number of bytes
* written to @param buf.
* @param from if not NULL updated with the address from which the  
data was received
* @param sock The socket to use
* @param flags The flags to use
* @param buf  The buffer to use
* @param len  The length of the available buffer

View raw message