if( hostID == 0 ) // turn mutex off and throw an error, the host creation failed. NULL ); // This next part will get more complicated later. ( pData, length, receiveTime ); } Of course, that means you now have a list of hosts. ( pBuffer == NULL || pHostID == NULL) throw cError( "MTUDP::GetReliableData() - Invalid parameters..