VirtualBox

Changeset 39801 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Jan 18, 2012 6:01:11 PM (13 years ago)
Author:
vboxsync
Message:

IPRT: socket / address resolving fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/socket.h

    r32131 r39801  
    3030#include <iprt/cdefs.h>
    3131#include <iprt/types.h>
     32#include <iprt/net.h>
    3233/* Currently requires a bunch of socket headers. */
    3334
     
    5455int rtSocketCreateForNative(RTSOCKETINT **ppSocket, RTSOCKETNATIVE hNative);
    5556int rtSocketCreate(PRTSOCKET phSocket, int iDomain, int iType, int iProtocol);
    56 int rtSocketBind(RTSOCKET hSocket, const struct sockaddr *pAddr, int cbAddr);
     57int rtSocketBind(RTSOCKET hSocket, PCRTNETADDR pAddr);
    5758int rtSocketListen(RTSOCKET hSocket, int cMaxPending);
    5859int rtSocketAccept(RTSOCKET hSocket, PRTSOCKET phClient, struct sockaddr *pAddr, size_t *pcbAddr);
    59 int rtSocketConnect(RTSOCKET hSocket, const struct sockaddr *pAddr, int cbAddr);
     60int rtSocketConnect(RTSOCKET hSocket, PCRTNETADDR pAddr);
    6061int rtSocketSetOpt(RTSOCKET hSocket, int iLevel, int iOption, void const *pvValue, int cbValue);
    6162#endif /* IPRT_INTERNAL_SOCKET_POLLING_ONLY */
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