VirtualBox

Changeset 57957 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 29, 2015 10:47:47 PM (9 years ago)
Author:
vboxsync
Message:

Runtime: Allow specifying the default destination address on the UDP client socket.

File:
1 edited

Legend:

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

    r57955 r57957  
    154154 *
    155155 * @returns iprt status code.
    156  * @param   pszAddress      The address to connect to.
    157  * @param   uPort           The port to connect to.
    158  * @param   pSock           Where to store the handle to the established connection.
     156 * @param   pszAddress          The address to connect to.
     157 * @param   uPort               The port to connect to.
     158 * @param   pDefaultDstAddr     A default destination address for sending data
     159 *                              through this socket, can be NULL.
     160 * @param   pSock               Where to store the handle to the established connection.
    159161 */
    160 RTR3DECL(int) RTUdpCreateClientSocket(const char *pszAddress, uint32_t uPort, PRTSOCKET pSock);
     162RTR3DECL(int) RTUdpCreateClientSocket(const char *pszAddress, uint32_t uPort, PRTNETADDR pDefaultDstAddr, PRTSOCKET pSock);
    161163
    162164/** @} */
Note: See TracChangeset for help on using the changeset viewer.

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