library/src/blockclass/BP-BlockClass.cc
// this is the primary function around which this fuzzer lib is
// based.  It will play a list of buffers, including having the
// ability to recieve data within a block.  This is the key difference
// between SendBlock and Play.  Play will actually recieve buffers as
// well.
this is the primary function around which this fuzzer lib is
based.  It will play a list of buffers, including having the
ability to recieve data within a block.  This is the key difference
between SendBlock and Play.  Play will actually recieve buffers as
well.
this is the primary function around which this fuzzer lib is based . It will play a list of buffers including having the ability to recieve data within a block . This is the key difference between SendBlock and Play . Play will actually recieve buffers as well .
int Block::SockPlay()
{
	return ERR_SUCCESS;
}
int Block :: SockPlay ( ) { return ERR_SUCCESS ; }
this is the primary function around which this fuzzer lib is
based.
this is the primary function around which this fuzzer lib is based .
/*
	P_BP_DATA_LIST first = NULL;

	// buffer used to flush the remainder of data being read
	// from the pipe.
	char readBuff[1000];
	memset(readBuff, 0x00, 1000);

	if (bufferList == NULL) {
		return ERR_FAILURE;
	}

	first = bufferList->first;
	for (bufferList = bufferList->first; bufferList != NULL; bufferList = bufferList->next) {

		// always read first
		if (bufferList->dataType == BP_DATA_ENTRY_TYPE_READ) {

			if (NetRead(net_handle, bufferList->readData, bufferList->dataSize) == -1) {
				return ERR_FAILURE;
			}

		} else if (bufferList->dataType != BP_DATA_ENTRY_TYPE_READ) {

			if (bufferList->binData == NULL) {
				if (NetSend(net_handle, bufferList->data, bufferList->dataSize) == -1) {
					return ERR_FAILURE;
				}
			} else {
				// send binary data if found
				if (NetSend(net_handle, bufferList->binData, bufferList->dataSize) == -1) {
					return ERR_FAILURE;
				}
			}

		}

	}

	bufferList = first;
	*/