This project is read-only.

Create a SYN,SYN-ACK,ACK connection

Mar 20, 2013 at 9:53 PM
Edited Mar 20, 2013 at 9:53 PM
Hi, I've to send packets to my site using the TCP protocol. But, before sending, I've to create a valid SYN,SYN-ACK,ACK connection.

I've searched a connect method in the examples of PcapDotNet but I havent found it.

Someone can help me with an example to create a valid TCP connection?

Thanks!
Mar 22, 2013 at 8:57 AM
Hi Piero1978,

You basically need to send a SYN packet, wait for a SYN-ACK packet and send a proper ACK for that.
More details on how TCP works are available if you just search for TCP online.
It's best to capture a real TCP connection first and try to imitate it.

I hope this helps,

Boaz.