Home | History | Annotate | Download | only in deutil

Lines Matching full:channels

611 deBool deSocket_shutdown (deSocket* sock, deUint32 channels)
624 DE_ASSERT(channels != 0 && (channels & ~(deUint32)DE_SOCKETCHANNEL_BOTH) == 0);
626 /* Don't attempt to close already closed channels on partially open socket. */
627 channels &= sock->openChannels;
629 if (channels == 0)
639 if ((channels & DE_SOCKETCHANNEL_BOTH) == DE_SOCKETCHANNEL_BOTH)
641 else if (channels & DE_SOCKETCHANNEL_SEND)
643 else if (channels & DE_SOCKETCHANNEL_RECEIVE)
647 closedChannels = channels;
666 if ((channels
668 else if (channels & DE_SOCKETCHANNEL_SEND)
670 else if (channels & DE_SOCKETCHANNEL_RECEIVE)
674 closedChannels = channels;
761 DE_INLINE void deSocket_setChannelsClosed (deSocket* sock, deUint32 channels)
765 sock->openChannels &= ~channels;