throwPcapError::BuildInvalidOperation("Failed transmiting packets from queue",deviceHandler->Descriptor);
throwgcnewInvalidOperationException(String::Format("An error occurred sending the packets: %s. Only %d bytes were sent",gcnewString(pcap_geterr(deviceHandler->Descriptor)),numBytesTransmitted));