Re: sending echo request via socket (linux assembly)
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Mon, 11 Aug 2008 12:13:17 -0700
See IcmpSendEcho[2[Ex]]. I'd suggest IcmpSendEcho2
as available on all of the Windows OSes of today and
not as restrictive as IcmpSendEcho (that is there mostly
for backwards compatibility).
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
<thesupervisar@xxxxxxxxx> wrote in message
news:35a5678d-7668-456a-a2cb-1364c3f964ce@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I wish to send a echo request to an ip, I would like to know (just)
the proceeeds requested to do it.
I'm trying to do in this order:
- create a socket (AF_INET, SOCK_RAW, PROTO_ICMP) via
socket_call_socket ,
- use sendto via socket_call_sendto (I'd like to know how to use this
function propperly)
Are these steps correct and enougth to recieve an echo reply from
dest. addr?
Thank you in advance,
Peace.
.
- References:
- sending echo request via socket (linux assembly)
- From: thesupervisar
- sending echo request via socket (linux assembly)
- Prev by Date: Re: the 4th parameter of 'recv' function, 0?
- Next by Date: Re: First UDP message to a specific IP gets lost
- Previous by thread: sending echo request via socket (linux assembly)
- Next by thread: php win32 communication
- Index(es):
Relevant Pages
|
Loading