Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~438 People Reached
Favorite Forums
Favorite Tags
c x 14
Member Avatar for triadR

hi, i've a code shown like this.. [CODE='c'] #include <stdlib.h> #include <stdio.h> #include <winsock2.h> #include <pcap.h> #include <remote-ext.h> #define ETH_IP 0x0800 // type: IP #define ETH_ARP 0x0806 // type: ARP #define ETH_ICMP 0x0800 // type: ICMP = IP #define ARP_HARDWARE 0x0001 // type for 802.3 frames #define ARP_REQUEST 0x0001 // …

Member Avatar for triadR
0
235
Member Avatar for triadR

hi all, i've a problem in converting struct into short here's the code i'm using, but it's still error while i'm running it. [CODE] typedef struct ip_header; unsigned short *temp; memcpy(temp, &ip_header, sizeof(ip_header)); [/CODE] any help will be greatly appreciated. thx.

Member Avatar for jephthah
0
203