Changeset 43206 in vbox for trunk/include/iprt
- Timestamp:
- Sep 5, 2012 1:31:05 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80594
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/socket.h
r43203 r43206 138 138 * @param pszResult Where to return the result. 139 139 * @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. 141 142 * @param penmAddrType Input: Which kind of address to return. Valid values 142 143 * 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. 147 149 */ 148 150 RTDECL(int) RTSocketGetAddrInfo(const char *pszHost, char *pszResult, size_t *pcbResult, PRTNETADDRTYPE penmAddrType);
Note:
See TracChangeset
for help on using the changeset viewer.