All pastes #923625 Raw Edit

Someone

public text v1 · immutable
#923625 ·published 2008-02-29 18:35 UTC
rendered paste body
bool Socket::Send(IN const uint8* pSrc, INOUT uint32 unSize)
{
    if(!m_bConnected)
        return false;

	m_WriteMutex.Lock();
	int32 res = bufferevent_write(m_pBufEvent, (void*)pSrc, unSize);
	m_WriteMutex.Unlock();
	
	return (res != -1);
}