Lines Matching refs:m_Socket
203 pPipe->m_Socket = socket(AF_UNIX, SOCK_STREAM, 0); in osl_psz_createPipe()
204 if ( pPipe->m_Socket < 0 ) in osl_psz_createPipe()
214 if ((Flags = fcntl(pPipe->m_Socket, F_GETFD, 0)) != -1) in osl_psz_createPipe()
217 if (fcntl(pPipe->m_Socket, F_SETFD, Flags) == -1) in osl_psz_createPipe()
243 if ( connect(pPipe->m_Socket,(struct sockaddr *)&addr,len) >= 0 ) in osl_psz_createPipe()
246 close (pPipe->m_Socket); in osl_psz_createPipe()
255 if ( bind(pPipe->m_Socket, (struct sockaddr *)&addr, len) < 0 ) in osl_psz_createPipe()
258 close (pPipe->m_Socket); in osl_psz_createPipe()
272 if ( listen(pPipe->m_Socket, 5) < 0 ) in osl_psz_createPipe()
276 close (pPipe->m_Socket); in osl_psz_createPipe()
287 if ( connect( pPipe->m_Socket, (struct sockaddr *)&addr, len) >= 0 ) in osl_psz_createPipe()
295 close (pPipe->m_Socket); in osl_psz_createPipe()
341 ConnFD = pPipe->m_Socket; in osl_closePipe()
351 pPipe->m_Socket = -1; in osl_closePipe()
419 s = accept(pPipe->m_Socket, NULL, NULL); in osl_acceptPipe()
461 pAcceptedPipe->m_Socket = s; in osl_acceptPipe()
485 nRet = recv(pPipe->m_Socket, in osl_receivePipe()
516 nRet = send(pPipe->m_Socket, in osl_sendPipe()