locked
TCP/Ip 3 way handshaking on windows 2003 server RRS feed

  • Question

  • I want to implement three way handshaking (SYN, SYN-ACK, ACK) on Windows server. Develeopment may be on C or .Net. I also tried http://ruffnex.oc.to/kenji/xrea/syn.txt This program will work on Unix, since it has all the required header files in built. When it comes to Window i can not able to proceed (since windows does not have header files).

    My actual problem is: I have implemented one application which will recieve socket information and closes socket and waits for another request (so it always runs on server). Normally it works fine. Recently we got one error on production (socket is not available, when i checked thru netstat port is saying listening but it is not in a situation to recieve data from client socket). when we restarted the application it is working fine.

    So we actually dont know where is the problem?

    So thats why i am trying to figure it out thru a 3 way handshake program. this will check always on server weather port is ready or not.

    Thanks in advance

    Friday, August 14, 2009 1:59 AM

All replies

  • At least you specified your actual problem, because you started by asking the wrong question.  TCP/IP implements three-way handshaking.  And Windows does have header files, except a completely different API set.

    Why can't you just use Winsock?
    Thursday, March 18, 2010 1:40 AM