@@ -27,7 +28,7 @@ PacketCommunicator::PacketCommunicator(const char* source, int snapshotLength, P
...
@@ -27,7 +28,7 @@ PacketCommunicator::PacketCommunicator(const char* source, int snapshotLength, P
if(pcapDescriptor==NULL)
if(pcapDescriptor==NULL)
{
{
throwgcnewInvalidOperationException(String::Format("Unable to open the adapter. %s is not supported by WinPcap",gcnewString(source)));
throwgcnewInvalidOperationException(String::Format(CultureInfo::InvariantCulture,"Unable to open the adapter. %s is not supported by WinPcap",gcnewString(source)));
}
}
_pcapDescriptor=pcapDescriptor;
_pcapDescriptor=pcapDescriptor;
...
@@ -186,15 +187,15 @@ PacketCommunicatorReceiveResult PacketCommunicator::ReceiveSomePackets([Out] int
...
@@ -186,15 +187,15 @@ PacketCommunicatorReceiveResult PacketCommunicator::ReceiveSomePackets([Out] int