I have some questions:

1- When I send a SYN packet to a server, the server respond by a SYN
ACK, but my PC respond with a RST. I want to manage the response
manually, How can I?

2- How can I receive packet using a raw socket with providing the
RCVALL flag.

Thanks in advance,