VirtualBox

Changeset 26588 in vbox for trunk/include/iprt/tcp.h


Ignore:
Timestamp:
Feb 16, 2010 5:02:59 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57776
Message:

iprt: New type RTNETADDR for storing any address + type + port. Added %RTnaddr for printing it.

File:
1 edited

Legend:

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

    r25724 r26588  
    3434#include <iprt/types.h>
    3535#include <iprt/thread.h>
     36#include <iprt/net.h>
    3637
    3738#ifdef IN_RING0
     
    224225#endif
    225226
     227/**
     228 * Gets the address of the other party.
     229 *
     230 * @returns IPRT status code.
     231 * @param   Sock            Socket descriptor.
     232 * @param   pAddr           Where to store the peer address on success.
     233 */
     234RTR3DECL(int) RTTcpGetPeerAddress(RTSOCKET Sock, PRTNETADDR pAddr);
    226235
    227236/** @} */
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