VirtualBox

Changeset 23625 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Oct 8, 2009 4:56:22 PM (15 years ago)
Author:
vboxsync
Message:

IPRT: Added RTTcpServerShutdown and cleaned up the code.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r23291 r23625  
    930930/** The server was stopped. */
    931931#define VINF_TCP_SERVER_STOP                    500
     932/** The TCP server was shut down using RTTcpServerShutdown. */
     933#define VERR_TCP_SERVER_SHUTDOWN                (-501)
     934/** The TCP server was destroyed. */
     935#define VERR_TCP_SERVER_DESTROYED               (-502)
     936/** The TCP server has no client associated with it. */
     937#define VINF_TCP_SERVER_NO_CLIENT               503
    932938/** @} */
    933939
  • trunk/include/iprt/tcp.h

    r20374 r23625  
    133133
    134134/**
     135 * Shuts down the server, leaving client connections open.
     136 *
     137 * @returns IPRT status code.
     138 * @param   pServer         Handle to the server.
     139 */
     140RTR3DECL(int) RTTcpServerShutdown(PRTTCPSERVER pServer);
     141
     142/**
    135143 * Connect (as a client) to a TCP Server.
    136144 *
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