Will be a support of raw sockets in node.js, e.g. to create ping packets?Node.js + Nginx - What now?How to do Base64 encoding in node.js?Receiving packets with raw socket in LinuxRaw socket python packet snifferHow to filter Packets in RAW socket in LINUXPing packets on raw socketsWhy ping receives another ping command packet?Some problems about the raw-socket in Node.jsCan't receive packets to raw socketIf I open a raw socket and start reading the packets, are the packets that have been read not delivered to the destined TCP sockets?

Should I hide continue button until tasks are completed?

Should I tell my insurance company I'm making payments on my new car?

Going to get married soon, should I do it on Dec 31 or Jan 1?

Is adding a new player (or players) a DM decision, or a group decision?

Is my Rep in Stack-Exchange Form?

Every infinite linearly ordered set has two disjoint infinite subsets

Using symmetry of Riemann tensor to vanish components

Does squid ink pasta bleed?

Does ultrasonic bath cleaning damage laboratory volumetric glassware calibration?

Ending: accusative or not?

What happens when your group is victim of a surprise attack but you can't be surprised?

Declining an offer to present a poster instead of a paper

How well known and how commonly used was Huffman coding in 1979?

How can Charles Proxy change settings without admin rights after first time?

Why does Darth Sidious need bodyguards?

How to determine what is the correct level of detail when modelling?

How many satellites can stay in a Lagrange point?

Are there any vegetarian astronauts?

Are Finite Automata Turing Complete?

Should my manager be aware of private LinkedIn approaches I receive? How to politely have this happen?

How can I convince my reader that I will not use a certain trope?

Counting occurrence of words in table is slow

What is this particular type of chord progression, common in classical music, called?

Links to webpages in books



Will be a support of raw sockets in node.js, e.g. to create ping packets?


Node.js + Nginx - What now?How to do Base64 encoding in node.js?Receiving packets with raw socket in LinuxRaw socket python packet snifferHow to filter Packets in RAW socket in LINUXPing packets on raw socketsWhy ping receives another ping command packet?Some problems about the raw-socket in Node.jsCan't receive packets to raw socketIf I open a raw socket and start reading the packets, are the packets that have been read not delivered to the destined TCP sockets?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








5















Will be a support of raw sockets in node.js, e.g. to create ping packets?










share|improve this question






























    5















    Will be a support of raw sockets in node.js, e.g. to create ping packets?










    share|improve this question


























      5












      5








      5








      Will be a support of raw sockets in node.js, e.g. to create ping packets?










      share|improve this question
















      Will be a support of raw sockets in node.js, e.g. to create ping packets?







      javascript node.js raw-sockets






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 22 '13 at 11:42









      John Bensin

      2361 gold badge4 silver badges19 bronze badges




      2361 gold badge4 silver badges19 bronze badges










      asked Dec 9 '12 at 15:38









      sauletasmiestassauletasmiestas

      1731 gold badge4 silver badges16 bronze badges




      1731 gold badge4 silver badges16 bronze badges






















          3 Answers
          3






          active

          oldest

          votes


















          7














          A new module named node-raw-socket offers the perfect solution for real raw sockets using nodejs.



          And, for creating ping (ICMP) packets, the same developer has a very nice working (using it) solution based on node-raw-sockets as well: node-net-ping.






          share|improve this answer

























          • node-raw-socket does not install. fails on build for me.

            – uptownhr
            Sep 23 '15 at 21:09


















          4














          Node supports TCP, UDP, and unix sockets. Ping packets are ICMP packets, which node cannot create directly at this time. You could execute an external ping subprocess or consider writing a C extension. Most of node's low level OS APIs are thin javascript wrappers around the corresponding C API, so you could follow that existing well-established pattern and implement this as a small JS wrapper layer around the corresponding OS-level APIs.



          http://nodejs.org/docs/latest/api/all.html#all_class_net_socket



          There's a chance node/javascript are a poor choice for your project based on this requirement though.






          share|improve this answer


















          • 1





            I think the solution should be to create an addon addons

            – sauletasmiestas
            Dec 10 '12 at 15:25











          • @Peter, There's no reason why Node supports TCP UDP, yet doesn't support IP. Support for IP must come sooner or later.

            – Pacerier
            Mar 3 '17 at 23:23


















          0














          net-ping module may suit your need. to install it you can use the following command:



          npm install net-ping


          The documentation with examples is included here.






          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f13788883%2fwill-be-a-support-of-raw-sockets-in-node-js-e-g-to-create-ping-packets%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7














            A new module named node-raw-socket offers the perfect solution for real raw sockets using nodejs.



            And, for creating ping (ICMP) packets, the same developer has a very nice working (using it) solution based on node-raw-sockets as well: node-net-ping.






            share|improve this answer

























            • node-raw-socket does not install. fails on build for me.

              – uptownhr
              Sep 23 '15 at 21:09















            7














            A new module named node-raw-socket offers the perfect solution for real raw sockets using nodejs.



            And, for creating ping (ICMP) packets, the same developer has a very nice working (using it) solution based on node-raw-sockets as well: node-net-ping.






            share|improve this answer

























            • node-raw-socket does not install. fails on build for me.

              – uptownhr
              Sep 23 '15 at 21:09













            7












            7








            7







            A new module named node-raw-socket offers the perfect solution for real raw sockets using nodejs.



            And, for creating ping (ICMP) packets, the same developer has a very nice working (using it) solution based on node-raw-sockets as well: node-net-ping.






            share|improve this answer















            A new module named node-raw-socket offers the perfect solution for real raw sockets using nodejs.



            And, for creating ping (ICMP) packets, the same developer has a very nice working (using it) solution based on node-raw-sockets as well: node-net-ping.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 25 at 11:19









            Quentin

            671k76 gold badges915 silver badges1074 bronze badges




            671k76 gold badges915 silver badges1074 bronze badges










            answered Feb 12 '13 at 10:48









            umutmumutm

            1,4932 gold badges17 silver badges19 bronze badges




            1,4932 gold badges17 silver badges19 bronze badges












            • node-raw-socket does not install. fails on build for me.

              – uptownhr
              Sep 23 '15 at 21:09

















            • node-raw-socket does not install. fails on build for me.

              – uptownhr
              Sep 23 '15 at 21:09
















            node-raw-socket does not install. fails on build for me.

            – uptownhr
            Sep 23 '15 at 21:09





            node-raw-socket does not install. fails on build for me.

            – uptownhr
            Sep 23 '15 at 21:09













            4














            Node supports TCP, UDP, and unix sockets. Ping packets are ICMP packets, which node cannot create directly at this time. You could execute an external ping subprocess or consider writing a C extension. Most of node's low level OS APIs are thin javascript wrappers around the corresponding C API, so you could follow that existing well-established pattern and implement this as a small JS wrapper layer around the corresponding OS-level APIs.



            http://nodejs.org/docs/latest/api/all.html#all_class_net_socket



            There's a chance node/javascript are a poor choice for your project based on this requirement though.






            share|improve this answer


















            • 1





              I think the solution should be to create an addon addons

              – sauletasmiestas
              Dec 10 '12 at 15:25











            • @Peter, There's no reason why Node supports TCP UDP, yet doesn't support IP. Support for IP must come sooner or later.

              – Pacerier
              Mar 3 '17 at 23:23















            4














            Node supports TCP, UDP, and unix sockets. Ping packets are ICMP packets, which node cannot create directly at this time. You could execute an external ping subprocess or consider writing a C extension. Most of node's low level OS APIs are thin javascript wrappers around the corresponding C API, so you could follow that existing well-established pattern and implement this as a small JS wrapper layer around the corresponding OS-level APIs.



            http://nodejs.org/docs/latest/api/all.html#all_class_net_socket



            There's a chance node/javascript are a poor choice for your project based on this requirement though.






            share|improve this answer


















            • 1





              I think the solution should be to create an addon addons

              – sauletasmiestas
              Dec 10 '12 at 15:25











            • @Peter, There's no reason why Node supports TCP UDP, yet doesn't support IP. Support for IP must come sooner or later.

              – Pacerier
              Mar 3 '17 at 23:23













            4












            4








            4







            Node supports TCP, UDP, and unix sockets. Ping packets are ICMP packets, which node cannot create directly at this time. You could execute an external ping subprocess or consider writing a C extension. Most of node's low level OS APIs are thin javascript wrappers around the corresponding C API, so you could follow that existing well-established pattern and implement this as a small JS wrapper layer around the corresponding OS-level APIs.



            http://nodejs.org/docs/latest/api/all.html#all_class_net_socket



            There's a chance node/javascript are a poor choice for your project based on this requirement though.






            share|improve this answer













            Node supports TCP, UDP, and unix sockets. Ping packets are ICMP packets, which node cannot create directly at this time. You could execute an external ping subprocess or consider writing a C extension. Most of node's low level OS APIs are thin javascript wrappers around the corresponding C API, so you could follow that existing well-established pattern and implement this as a small JS wrapper layer around the corresponding OS-level APIs.



            http://nodejs.org/docs/latest/api/all.html#all_class_net_socket



            There's a chance node/javascript are a poor choice for your project based on this requirement though.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 9 '12 at 16:55









            Peter LyonsPeter Lyons

            114k22 gold badges232 silver badges243 bronze badges




            114k22 gold badges232 silver badges243 bronze badges







            • 1





              I think the solution should be to create an addon addons

              – sauletasmiestas
              Dec 10 '12 at 15:25











            • @Peter, There's no reason why Node supports TCP UDP, yet doesn't support IP. Support for IP must come sooner or later.

              – Pacerier
              Mar 3 '17 at 23:23












            • 1





              I think the solution should be to create an addon addons

              – sauletasmiestas
              Dec 10 '12 at 15:25











            • @Peter, There's no reason why Node supports TCP UDP, yet doesn't support IP. Support for IP must come sooner or later.

              – Pacerier
              Mar 3 '17 at 23:23







            1




            1





            I think the solution should be to create an addon addons

            – sauletasmiestas
            Dec 10 '12 at 15:25





            I think the solution should be to create an addon addons

            – sauletasmiestas
            Dec 10 '12 at 15:25













            @Peter, There's no reason why Node supports TCP UDP, yet doesn't support IP. Support for IP must come sooner or later.

            – Pacerier
            Mar 3 '17 at 23:23





            @Peter, There's no reason why Node supports TCP UDP, yet doesn't support IP. Support for IP must come sooner or later.

            – Pacerier
            Mar 3 '17 at 23:23











            0














            net-ping module may suit your need. to install it you can use the following command:



            npm install net-ping


            The documentation with examples is included here.






            share|improve this answer



























              0














              net-ping module may suit your need. to install it you can use the following command:



              npm install net-ping


              The documentation with examples is included here.






              share|improve this answer

























                0












                0








                0







                net-ping module may suit your need. to install it you can use the following command:



                npm install net-ping


                The documentation with examples is included here.






                share|improve this answer













                net-ping module may suit your need. to install it you can use the following command:



                npm install net-ping


                The documentation with examples is included here.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 4 '13 at 10:28









                orezvaniorezvani

                1,4098 gold badges31 silver badges50 bronze badges




                1,4098 gold badges31 silver badges50 bronze badges



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f13788883%2fwill-be-a-support-of-raw-sockets-in-node-js-e-g-to-create-ping-packets%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현