Lines Matching refs:m_Socket
468 pSockImpl->m_Socket = Socket; in __osl_createSocketImpl()
1146 pSocket->m_Socket= socket(FAMILY_TO_NATIVE(Family), in osl_createSocket()
1151 if(pSocket->m_Socket == OSL_INVALID_SOCKET) in osl_createSocket()
1190 closesocket(pSocket->m_Socket); in osl_closeSocket()
1192 pSocket->m_Socket = OSL_INVALID_SOCKET; in osl_closeSocket()
1217 if (getsockname(pSocket->m_Socket, &Addr, &AddrLen) == OSL_SOCKET_ERROR) in osl_getLocalAddrOfSocket()
1237 if (getpeername(pSocket->m_Socket, &Addr, &AddrLen) == OSL_SOCKET_ERROR) in osl_getPeerAddrOfSocket()
1254 return (bind(pSocket->m_Socket, in osl_bindAddrToSocket()
1279 if(connect(pSocket->m_Socket, in osl_connectSocketTo()
1296 if (connect(pSocket->m_Socket, in osl_connectSocketTo()
1317 pSocket->m_Socket, FIONBIO, &Param) != OSL_SOCKET_ERROR); in osl_connectSocketTo()
1320 if (connect(pSocket->m_Socket, in osl_connectSocketTo()
1327 ioctlsocket(pSocket->m_Socket, FIONBIO, &Param); in osl_connectSocketTo()
1339 ioctlsocket(pSocket->m_Socket, FIONBIO, &Param); in osl_connectSocketTo()
1347 FD_SET(pSocket->m_Socket, &fds); in osl_connectSocketTo()
1354 error= select(pSocket->m_Socket+1, in osl_connectSocketTo()
1363 FD_ISSET(pSocket->m_Socket, &fds), in osl_connectSocketTo()
1388 ioctlsocket(pSocket->m_Socket, FIONBIO, &Param); in osl_connectSocketTo()
1404 return (listen(pSocket->m_Socket, in osl_listenOnSocket()
1433 Connection= accept(pSocket->m_Socket, &Addr, &AddrLen); in osl_acceptConnectionOnSocket()
1444 Connection= accept(pSocket->m_Socket, 0, 0); in osl_acceptConnectionOnSocket()
1474 return recv(pSocket->m_Socket, in osl_receiveSocket()
1501 return recvfrom(pSocket->m_Socket, in osl_receiveFromSocket()
1521 return send(pSocket->m_Socket, in osl_sendSocket()
1547 return sendto(pSocket->m_Socket, in osl_sendToSocket()
1635 FD_SET(pSocket->m_Socket, &fds); in osl_isReceiveReady()
1643 return (select(pSocket->m_Socket + 1, /* no of sockets to monitor */ in osl_isReceiveReady()
1664 FD_SET(pSocket->m_Socket, &fds); in osl_isSendReady()
1672 return (select(pSocket->m_Socket + 1, /* no of sockets to monitor */ in osl_isSendReady()
1693 FD_SET(pSocket->m_Socket, &fds); in osl_isExceptionPending()
1701 return (select(pSocket->m_Socket + 1, /* no of sockets to monitor */ in osl_isExceptionPending()
1718 return (shutdown(pSocket->m_Socket, DIRECTION_TO_NATIVE(Direction))==0); in osl_shutdownSocket()
1734 if (getsockopt(pSocket->m_Socket, in osl_getSocketOption()
1759 return(setsockopt(pSocket->m_Socket, in osl_setSocketOption()
1781 ioctlsocket(pSocket->m_Socket, FIONBIO, &Param) != OSL_SOCKET_ERROR); in osl_enableNonBlockingMode()
1806 if(getsockopt(pSocket->m_Socket, in osl_getSocketType()
2113 FD_SET(pSockImpl->m_Socket, &pSet->m_Set); in osl_addToSocketSet()
2130 FD_CLR(pSockImpl->m_Socket, &pSet->m_Set); in osl_removeFromSocketSet()
2147 return (FD_ISSET(pSockImpl->m_Socket, &pSet->m_Set) != 0); in osl_isInSocketSet()