VirtualBox

Changeset 96864 in vbox for trunk/include


Ignore:
Timestamp:
Sep 26, 2022 2:38:59 PM (2 years ago)
Author:
vboxsync
Message:

Runtime: Implement RTUdpCreateServerSocket(), bugref:9822

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r96813 r96864  
    27582758# define RTTraceSetDefaultBuf                           RT_MANGLER(RTTraceSetDefaultBuf)
    27592759# define RTUdpCreateClientSocket                        RT_MANGLER(RTUdpCreateClientSocket)
     2760# define RTUdpCreateServerSocket                        RT_MANGLER(RTUdpCreateServerSocket)
    27602761# define RTUdpRead                                      RT_MANGLER(RTUdpRead)
    27612762# define RTUdpServerCreate                              RT_MANGLER(RTUdpServerCreate)
  • trunk/include/iprt/udp.h

    r96407 r96864  
    175175RTR3DECL(int) RTUdpCreateClientSocket(const char *pszAddress, uint32_t uPort, PRTNETADDR pLocalAddr, PRTSOCKET pSock);
    176176
     177/**
     178 * Create a data socket acting as a server.
     179 *
     180 * @returns iprt status code.
     181 * @param   pszAddress          The address to connect to.
     182 * @param   uPort               The port to connect to.
     183 * @param   pSock               Where to store the handle to the established connection.
     184 */
     185RTR3DECL(int) RTUdpCreateServerSocket(const char *pszAddress, uint32_t uPort, PRTSOCKET pSock);
     186
    177187/** @} */
    178188RT_C_DECLS_END
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