hi,
how can i write (C++,MFC) the connect-function (from winsock) manually?
i have a programm with raw-socket.

1. i send a syn-flag to a server (seq-number: 1234 , ack-number: 1234)
2. the respond with syn-ack-flag (seq-number: 8000000 , ack-number:
1235) ->this is ok!
3. i send a ack-flag to the server (seq-number:1235, ack-number: 8000001)
and
the server respond with a rst-flag

What is wrong?

thank for help
martin