User Profile

Collapse

Profile Sidebar

Collapse
NeoIndigo
NeoIndigo
Last Activity: Mar 11 '09, 06:25 AM
Joined: Feb 26 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • george666
    george666 posted a Visitor Message for NeoIndigo
    If it's under Windows, you must use win32 api (Icmp)
    You can ask on specialized Win32 api newsgroup :
    news://nntp.aioe.org/comp.os.ms-wind...ogrammer.win32
    where it has often been discussed
    See more | Go to post

  • NeoIndigo
    started a topic [C++] How to construct ICMP echo request
    in C

    [C++] How to construct ICMP echo request

    Hi guys,
    It's my first time trying to create a packet in C++. So, what i have done so far are:
    1. I have opened a packet level raw socket. Using this command:
    sd = socket(PF_PACKE T,SOCK_RAW,ETHE RTYPE_IP) ;

    2. I have gotten the interface number corresponding to interface name.
    Using the command:
    ioRtnCode = ioctl(sd,SIOCGI FINDEX,&ifioctl ) ;

    here, &ifioctl is supplied with...
    See more | Go to post
No activity results to display
Show More
Working...