engine/EngineNetwork.c
/*
==================
NET_CanSendMessage

Returns TRUE or FALSE if the given qsocket can currently accept a
message to be transmitted.
==================
*/
NET_CanSendMessage
Returns TRUE or FALSE if the given qsocket can currently accept a
message to be transmitted.
NET_CanSendMessage Returns TRUE or FALSE if the given qsocket can currently accept a message to be transmitted .
bool NET_CanSendMessage (qsocket_t *sock)
{
	int		r;
	if (!sock)
		return FALSE;
	if (sock->disconnected)
		return FALSE;
	SetNetTime();
	r = sfunc.CanSendMessage(sock);
	return r;
}
bool NET_CanSendMessage ( qsocket_t * sock ) { int r ; if ( ! sock ) return FALSE ; if ( sock -> disconnected ) return FALSE ; SetNetTime ( ) ; r = sfunc . CanSendMessage ( sock ) ; return r ; }
NET_CanSendMessage
Returns TRUE or FALSE if the given qsocket can currently accept a
message to be transmitted.
NET_CanSendMessage Returns TRUE or FALSE if the given qsocket can currently accept a message to be transmitted .