Changeset 30270 in vbox for trunk/include/iprt
- Timestamp:
- Jun 17, 2010 6:56:26 AM (15 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/socket.h
r28800 r30270 31 31 #include <iprt/thread.h> 32 32 #include <iprt/net.h> 33 #include <iprt/sg.h> 33 34 34 35 #ifdef IN_RING0 … … 176 177 RTDECL(int) RTSocketGetPeerAddress(RTSOCKET hSocket, PRTNETADDR pAddr); 177 178 179 /** 180 * Send data from a scatter/gather buffer to a socket. 181 * 182 * @returns IPRT status code. 183 * @retval VERR_INTERRUPTED if interrupted before anything was written. 184 * 185 * @param hSocket The socket handle. 186 * @param pSgBuf Scatter/gather buffer to write data to socket. 187 */ 188 RTDECL(int) RTSocketSgWrite(RTSOCKET hSocket, PCRTSGBUF pSgBuf); 189 178 190 /** @} */ 179 191 RT_C_DECLS_END -
trunk/include/iprt/tcp.h
r28800 r30270 4 4 5 5 /* 6 * Copyright (C) 2006-20 07Oracle Corporation6 * Copyright (C) 2006-2010 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 31 31 #include <iprt/thread.h> 32 32 #include <iprt/net.h> 33 #include <iprt/sg.h> 33 34 34 35 #ifdef IN_RING0 … … 216 217 217 218 /** 218 * Enables or disable delaying sends to coalesce packets.219 * Enables or disables delaying sends to coalesce packets. 219 220 * 220 221 * The TCP/IP stack usually uses the Nagle algorithm (RFC 896) to implement the … … 223 224 * @returns iprt status code. 224 225 * @param Sock Socket descriptor. 226 * @param fEnable When set to true enables coalescing. 225 227 */ 226 228 RTR3DECL(int) RTTcpSetSendCoalescing(RTSOCKET Sock, bool fEnable); … … 279 281 RTR3DECL(int) RTTcpGetPeerAddress(RTSOCKET Sock, PRTNETADDR pAddr); 280 282 283 /** 284 * Send data from a scatter/gather buffer to a socket. 285 * 286 * @returns iprt status code. 287 * @retval VERR_INTERRUPTED if interrupted before anything was written. 288 * 289 * @param Sock Socket descriptor. 290 * @param pSgBuf Scatter/gather buffer to write data to socket. 291 */ 292 RTR3DECL(int) RTTcpSgWrite(RTSOCKET Sock, PCRTSGBUF pSgBuf); 293 281 294 /** @} */ 282 295 RT_C_DECLS_END
Note:
See TracChangeset
for help on using the changeset viewer.