You probably want this, then: https://nodejs.org/api/net.html
This is node's built-in direct access to TCP sockets. On Wed, May 13, 2015 at 10:19 AM, Ket Nonting <[email protected]> wrote: > No I din't mean node.js. I mean the TCP-library written by other people. I > want to write that library by myself, I mean from scratch. It would serve > my purpose better then the universal one, including performance > improvement. I don't think it's that hard. I just don't know where to begin. > > I hope there's an answer I can find in the internet. > > On Wed, May 13, 2015 at 10:59 AM, Tom Boutell <[email protected]> wrote: > >> Node is third party software (: >> >> >> On Tuesday, May 12, 2015 at 8:53:24 AM UTC-4, Ket wrote: >>> >>> Can you point out how built it from scratch. Using third party software >>> cause a lot of headache. >>> >>> >>> On Thursday, May 3, 2012 at 10:53:56 AM UTC+7, Evan wrote: >>>> >>>> Applications like this are why I built http://actionherojs.com/ >>>> Let me know what you think! >>>> >>>> On Tuesday, May 1, 2012 9:05:58 PM UTC-7, ss9 wrote: >>>>> >>>>> I have a unique app I need to build: >>>>> >>>>> 1. Gets a request from a browser >>>>> 2. Passes a call to a TCP server which sends a UUID to a 3rd party >>>>> 3. TCP server listens for streams from the 3rd party. >>>>> 4. TCP server filters the stream to send the UUID messages back to >>>>> the HTTP server >>>>> 5. HTTP server does something with the message. >>>>> >>>>> I've had a few thoughts so far which include two different node >>>>> servers, one tcp and one http... or one server that does both, maybe >>>>> spawns child processes for the tcp part? >>>>> >>>>> Any thoughts on the best way to go about this? >>>> >>>> -- >> Job board: http://jobs.nodejs.org/ >> New group rules: >> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >> Old group rules: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "nodejs" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/nodejs/F_i_9HW-hnk/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/nodejs/e198da9d-2d2e-485e-954e-ff7c6e721016%40googlegroups.com >> <https://groups.google.com/d/msgid/nodejs/e198da9d-2d2e-485e-954e-ff7c6e721016%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Meldville <http://www.meldville.com> > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/F_i_9HW-hnk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/CAJPKQy7gNQ4Ft3_8HTQLs89HjsbcKiyrDfEL1k4jJspEJLdUNg%40mail.gmail.com > <https://groups.google.com/d/msgid/nodejs/CAJPKQy7gNQ4Ft3_8HTQLs89HjsbcKiyrDfEL1k4jJspEJLdUNg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *THOMAS BOUTELL, *DEV & OPS P'UNK AVENUE | (215) 755-1330 | punkave.com -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAORXhGLRhoFubYHGKbq6a4aUFimo5JCCxg8s0ZjtppLoJawGKw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
