Your English is not that good, or you just don't know how to express yourself. The bottom line is it is NOT clear what you are asking for.
If you need to get all network packets, you don't have...
Type: Posts; User: Kennedy
Your English is not that good, or you just don't know how to express yourself. The bottom line is it is NOT clear what you are asking for.
If you need to get all network packets, you don't have...
EDIT: What do you mean you have to use a program to do that???? ifconfig IS a program.
fd = socket(AF_INET, SOCK_DGRAM, 0);
strcpy(ifr.ifr_name, devname);
...
Translating. . .
Easy, at the command prompt type:
ifconfigIn windows you can do about the same thing from the cmd prompt (Start->run-> Then type cmd and click okay)
ipconfig /all
If this...