Hey,
you will have to extract the packet, set the checksum to zero, calculate the
checksum and put it in his place.
If you need a function for calculating a 16-bit checksum, here you go:
/* int CheckSum16
*
* Helper function whitch calculates a 16 bit checksum of the data.
*/
int
It could also be possible that the server has already seen the packet
(identifier) and so it just drops the packet. Tcp has an identifier in it,
so if you use a TCP socket, it could be that the stack just drops it and
answers, not the server. This is the time-window in TCP...
-Original
Fantastic,
this probably fixes the problems with new CPU's supporting hyperthreading!
Hopefully this will be included in the next version of WinPCap.
Thanks a lot,
Dries Decock
-Original Message-
From: Luca Deri [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 24 januari 2003 9:50
To: [EMAIL
ICMP specifies fields to set the process id and the id for the packet. The
last you increase for each request. Because you just send the same, the
router can think it's a duplicate. Just look at the icmp specifications to
see which field you have to increase eacht time.
-Original Message-
Thanks,
Dries Decock
==
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/winpcap-users@winpcap.polito.it/
To unsubscribe use
mailto: [EMAIL PROTECTED]?body=unsubscribe
==