VirtualBox

Changeset 43206 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 5, 2012 1:31:05 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80594
Message:

More cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/socket.h

    r43203 r43206  
    138138 * @param   pszResult       Where to return the result.
    139139 * @param   pcbResult       Input: The size of the @a pszResult buffer.
    140  *                          Output: size of the returned string.
     140 *                          Output: size of the returned string.  This is set on
     141 *                          VERR_BUFFER_OVERFLOW and most other error statuses.
    141142 * @param   penmAddrType    Input: Which kind of address to return. Valid values
    142143 *                          are:
    143  *                              - RTNETADDRTYPE_IPV4 -> lookup AF_INET
    144  *                              - RTNETADDRTYPE_IPV6 -> lookup AF_INET6
    145  *                              - NULL -> lookup anything
    146  *                          Output: Yet to be defined or why is this a pointer?
     144 *                              - RTNETADDRTYPE_IPV4 -> lookup AF_INET.
     145 *                              - RTNETADDRTYPE_IPV6 -> lookup AF_INET6.
     146 *                              - RTNETADDRTYPE_INVALID/NULL -> lookup anything.
     147 *                          Output: The type of address that is being returned.
     148 *                          Not modified on failure.
    147149 */
    148150RTDECL(int) RTSocketGetAddrInfo(const char *pszHost, char *pszResult, size_t *pcbResult, PRTNETADDRTYPE penmAddrType);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette