Hello!Thanks for your time reading this.I was doing a Client/Server app programming
the server had following routines:
client:Code:socket(); bind(); listen(); connect();
Using Wireshark 5 packets where sniffed:Code:socket(); connect();
Then I wanted to make my own client to trigger the same number of packets as before
my program is like:
After running the program several times the server doesn't send back SYN-ACK packet.Help Please!Code:socket(PF_INET,SOCK_RAW,IPPROTO_TCP); setsockopt();//tell the kernel not to bother about inserting its ip header CreateIPHeader(); CreateTCPHeader();//with SYN flag set sendto();//with address and port of my server
My platform is:Ubuntu Jaunty 9.04 kernel v2.6.28
Thanks!



LinkBack URL
About LinkBacks




kernel adds its own headers???