Lines Matching refs:hSocket
196 RTSOCKET hSocket = rtTcpAtomicXchgSock(pSock, NIL_RTSOCKET);
197 if (hSocket != NIL_RTSOCKET)
200 RTSocketShutdown(hSocket, true /*fRead*/, true /*fWrite*/);
201 return rtTcpClose(hSocket, pszMsg, fTryGracefulShutdown);
905 * @param hSocket The socket to work on.
908 static int rtTcpSetBlockingMode(RTHCUINTPTR hSocket, bool fBlocking)
913 if (ioctlsocket(hSocket, FIONBIO, &uBlocking))
917 int fFlags = fcntl(hSocket, F_GETFL, 0);
925 if (fcntl(hSocket, F_SETFL, fFlags) == -1)
1086 RTR3DECL(int) RTTcpSgWriteL(RTSOCKET hSocket, size_t cSegs, ...)
1090 int rc = RTSocketSgWriteLV(hSocket, cSegs, va);
1096 RTR3DECL(int) RTTcpSgWriteLV(RTSOCKET hSocket, size_t cSegs, va_list va)
1098 return RTSocketSgWriteLV(hSocket, cSegs, va);
1120 RTR3DECL(int) RTTcpSgWriteLNB(RTSOCKET hSocket, size_t cSegs, size_t *pcbWritten, ...)
1124 int rc = RTSocketSgWriteLVNB(hSocket, cSegs, pcbWritten, va);
1130 RTR3DECL(int) RTTcpSgWriteLVNB(RTSOCKET hSocket, size_t cSegs, size_t *pcbWritten, va_list va)
1132 return RTSocketSgWriteLVNB(hSocket, cSegs, pcbWritten, va);