VirtualBox

Changeset 32818 in vbox for trunk/include


Ignore:
Timestamp:
Sep 29, 2010 3:28:35 PM (14 years ago)
Author:
vboxsync
Message:

IPRT: RTTcpClientCloseEx - don't be nice to storage servers, they don't always repay the kindness.

File:
1 edited

Legend:

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

    r32276 r32818  
    180180
    181181/**
     182 * Close a socket returned by RTTcpClientConnect().
     183 *
     184 * @returns iprt status code.
     185 * @param   hSocket             The socket handle.
     186 * @param   fGracefulShutdown   If true, try do a graceful shutdown of the
     187 *                              outgoing pipe and draining any lingering input.
     188 *                              This is sometimes better for the server side.
     189 *                              If false, just close the connection without
     190 *                              further ado.
     191 */
     192RTR3DECL(int) RTTcpClientCloseEx(RTSOCKET Sock, bool fGracefulShutdown);
     193
     194/**
    182195 * Receive data from a socket.
    183196 *
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