library/src/blockclass/BP-BlockClass.cc
// recieves data on a ssl enabled socket
recieves data on a ssl enabled socket
recieves data on a ssl enabled socket
int Block::SSLRecv(char *data, int size)
{
	if(!data || !size)
		return ERR_FAILURE;
	int length = BP_SSLRead(net_handle, (BYTE *) data, size);
	return length;
}
int Block :: SSLRecv ( char * data , int size ) { if ( ! data || ! size ) return ERR_FAILURE ; int length = BP_SSLRead ( net_handle , ( BYTE * ) data , size ) ; return length ; }
recieves data on a ssl enabled socket
recieves data on a ssl enabled socket
// ensure we have data or size // read the data here // return the read size