in reply to "Single-machine IPC via sockets" and other things to say in the dark

Merlyn:

You are right, however the reason I want to know how to manipulate the sockets directly is because A) I need to accomplish this interaction for a current project, and B) I want to understand the details so I can be the one writing the modules one day (hehe).

So, if anybody's got a minute to slap up some socket code, why I'd be just as happy as a... well, happy anyway.

Alan "Hot Pastrami" Bellows
-Sitting calmly with scissors-

Replies are listed 'Best First'.
RE: RE:
by merlyn (Sage) on Sep 14, 2000 at 01:31 UTC
    Okay, responding point by point:
    A) I need to accomplish this interaction for a current project
    The two modules are available today. I show many examples of their usage in my WT columns, as do many other tutorials.
    B) I want to understand the details so I can be the one writing the modules one day
    Good, then you'll want to study good code that does useful things. The source to these modules is well documented and less buggy than almost anything else you'll see on the net. So use the modules, then trace down inside to see what they're doing.

    Do not attempt to build new technology without understanding existing technology. Reinventing the wheel is fine as long as you don't do it ignorantly.

    -- Randal L. Schwartz, Perl hacker

      That's true, examining the code may wield some useful stuff. By point A I wasn't implying that the modules weren't available, I was just describing how the need to get it done was only half my motivation, next to the need to understand. Turn, turn, turn.

      Alan "Hot Pastrami" Bellows
      -Sitting calmly with scissors-