Re: sending echo request via socket (linux assembly)



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.


.



Relevant Pages

  • Re: Reentrancy problem ???
    ... Microsoft MVP, MCSD ... "Igor Tandetnik" wrote in message ... > First the server bends over backwards to ensure the call is completed ...
    (microsoft.public.vc.atl)
  • Re: Word Compare is backwards
    ... Suzanne S. Barnhill ... Microsoft MVP (Word) ... "MDales" wrote in message ... doing the compare backwards, the active document is the old version instead ...
    (microsoft.public.word.docmanagement)
  • Re: correct my typing goes from right to left
    ... Suzanne S. Barnhill ... Microsoft MVP (Word) ... words read backwards. ...
    (microsoft.public.word.docmanagement)
  • Re: LVN_ITEMCHANGING, how can I get it to cancel the change?
    ... _bstr_t allocates the memory for me but it doesn't. ... "Alexander Nickolov" wrote: ... Microsoft MVP, MCSD ... the caller becuase the setWindowLong is in the case:default. ...
    (microsoft.public.win32.programmer.ole)
  • Re: LVN_ITEMCHANGING, how can I get it to cancel the change?
    ... Hi, Alex, This is what I get in the Watch window during debug for the ... "Alexander Nickolov" wrote: ... Microsoft MVP, MCSD ... MVP VC FAQ: http://www.mvps.org/vcfaq ...
    (microsoft.public.win32.programmer.ole)

Loading