Lines Matching defs:NIL_RTSOCKET
96 static RTSOCKET g_hTcpClient = NIL_RTSOCKET;
120 g_hTcpClient = NIL_RTSOCKET;
126 * @returns NIL_RTSOCKET if consumed, other wise hTcpClient.
133 if ( g_hTcpClient == NIL_RTSOCKET
141 hTcpClient = NIL_RTSOCKET;
323 && g_hTcpClient == NIL_RTSOCKET)
341 AssertMsg(RT_SUCCESS(rc) ? g_hTcpClient != NIL_RTSOCKET : g_hTcpClient == NIL_RTSOCKET, ("%Rrc %p\n", rc, g_hTcpClient));
387 if (hTcpClient == NIL_RTSOCKET)
417 if (hTcpClient == NIL_RTSOCKET)
448 if (hTcpClient == NIL_RTSOCKET)
453 hTcpClient = g_hTcpClient; Assert(hTcpClient != NIL_RTSOCKET);
588 if (hTcpClient == NIL_RTSOCKET)
624 if (g_hTcpClient != NIL_RTSOCKET)
639 g_hTcpClient = NIL_RTSOCKET;