PcapDotNet/Pcap.Net

Cannot set Multiple TCPControl bits in a Single Packet

Opened this issue · 3 comments

Please provide the support for setting multiple TCP control bits. Currently I am only able to set a single control bit per packet. During TCP handshaking, both SYN and ACK bit needs to be set. This cannot be done using current implementation.

Did you try TcpControlBits.Synchronize | TcpControlBits.Acknowledgment ?

@bricknerb: I tried this method, still not able to set. So I modified the pcapdotnet source code to create new enum variables for my needs and now its working

If you can provide the code you tried and a .pcap file with a packet you want to create, I can further debug this.