Q&A

  • Network에서 PING.....
네트워크에서 원하는 IP 주소로 PING을 하는 프로그램을 만들고 싶습니다....



어떤 콤퍼넌트를 어디에 어떻게 써야하는지 전혀 모르겠습니다....



아시는 분들의 도움을 기다립니다....



소스를 올려주시면 더욱 고맙고요.....



빠른 답변 기대하며.......

1  COMMENTS
  • Profile
    조민경 1999.06.28 21:44
    박주필 께서 말씀하시기를...

    > 네트워크에서 원하는 IP 주소로 PING을 하는 프로그램을 만들고 싶습니다....

    >

    > 어떤 콤퍼넌트를 어디에 어떻게 써야하는지 전혀 모르겠습니다....

    >

    > 아시는 분들의 도움을 기다립니다....

    >

    > 소스를 올려주시면 더욱 고맙고요.....

    >

    > 빠른 답변 기대하며.......



    일반적으로 PING은 ICMP를 사용하지요.



    다음 url을 참조하세요. 공짜에 소스까지 있군요... ^^;



    http://www.rtfm.be/fpiette/icsuk.htm



    한델자료실에도 있군요.(ics.zip)



    --- 다음은 그냥 참고만 하세요 ^^;

    There is tree different protocols used on TCP/IP:



    TCP: Connection-oriented, error-checking protocol.

    UDP: Connectionless protocol witout error checking

    ICMP: Portless, connectionless protocol used for controling the network

    state and transmitting network-related informations from computer to

    computer (ECHO, routing error, ACK, etc.).



    Ping uses the latest protocol, ICMP (Internet Control Message Protocol). It

    does NOT uses port as all the data are in the packet itself. An ECHO packet

    if of type 08 while the answer is of type 00.



    Win 95 and Winnt do not implement ICMP directly in wosock32.dll but in

    separate library called ICMP.dll.