Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Communication between multiple programs

Status
Not open for further replies.

jvdboom

Programmer
Aug 18, 2002
93
BE
My question is what is the best way?
The programs are some perl and other languages
And they will be compiled to exe(some with the -gui option of perl2exe)
I know that I can use pipes,backticks and systems and so on to run programs, but I want to make a connection between several programs when they are already running, like they are talking a specific protocol the programs however are running on the same computer and shouldn't be avaible from the network or internet.so a socket to a port wouldn't be a good thing(are there ports that are only avaible from the the same pc?). Are there a possiblity to have DMA or access interupts for this?
 
in unix i use 'shmem' and 'ipcs'
shared memory and interprocess queues vox clamantis in deserto.
 
is there also a possiblity to do it on a windows XP system?
 
Using sockets might well be worth thinking about, you can write fairly portable sockets code.

The security issue of having a process listening on a socket shouldn't be too hard to deal with, especially as you could build it in right from the start. Mike
________________________________________________________________

"Experience is the comb that Nature gives us, after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top