06-02-2013, 11:20 AM
PROGRAMS USING RAW SOCKETS (LIKE PACKET CAPTURING AND FILTERING
AIM :
To implement programs using raw sockets (like packet capturing and filtering)
ALGORITHM :
1. Start the program and to include the necessary header files
2. To define the packet length
3. To declare the IP header structure using TCPheader
4. Using simple checksum process to check the process
5. Using TCP \IP communication protocol to execute the program
6. And using TCP\IP communication to enter the Source IP and port number and Target IP
address and port number.
7. The Raw socket () is created and accept the Socket ( ) and Send to ( ), ACK
8. Stop the program