Simon Štefunko
Simon Štefunko

Reputation: 33

C# Pcap.net PacketDeviceOpenAttributes.NoCaptureLocal is capturing sent packets

Can anyone help me please? I'm using PacketDeviceOpenAttributes.NoCaptureLocal flag in PacketCommunicator and a when I send packet, my communicator is always capturing my packet as received packet. Thank you.

Upvotes: 0

Views: 377

Answers (1)

brickner
brickner

Reputation: 6585

PacketCommunicator isn't thread safe. If you're using the same communicator in different threads you should make sure to use a proper synchronization mechanism.

Upvotes: 1

Related Questions