Lines Matching refs:m_Socket
201 pPipe->m_Socket = socket(AF_UNIX, SOCK_STREAM, 0); in osl_psz_createPipe()
202 if ( pPipe->m_Socket < 0 ) in osl_psz_createPipe()
212 if ((Flags = fcntl(pPipe->m_Socket, F_GETFD, 0)) != -1) in osl_psz_createPipe()
215 if (fcntl(pPipe->m_Socket, F_SETFD, Flags) == -1) in osl_psz_createPipe()
241 if ( connect(pPipe->m_Socket,(struct sockaddr *)&addr,len) >= 0 ) in osl_psz_createPipe()
244 close (pPipe->m_Socket); in osl_psz_createPipe()
253 if ( bind(pPipe->m_Socket, (struct sockaddr *)&addr, len) < 0 ) in osl_psz_createPipe()
256 close (pPipe->m_Socket); in osl_psz_createPipe()
270 if ( listen(pPipe->m_Socket, 5) < 0 ) in osl_psz_createPipe()
274 close (pPipe->m_Socket); in osl_psz_createPipe()
285 if ( connect( pPipe->m_Socket, (struct sockaddr *)&addr, len) >= 0 ) in osl_psz_createPipe()
293 close (pPipe->m_Socket); in osl_psz_createPipe()
339 ConnFD = pPipe->m_Socket; in osl_closePipe()
349 pPipe->m_Socket = -1; in osl_closePipe()
417 s = accept(pPipe->m_Socket, NULL, NULL); in osl_acceptPipe()
459 pAcceptedPipe->m_Socket = s; in osl_acceptPipe()
483 nRet = recv(pPipe->m_Socket, in osl_receivePipe()
514 nRet = send(pPipe->m_Socket, in osl_sendPipe()