Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Communicating between applications?

I am very new to programming, and have had no formal training in it before so please bear with me if this is a vague question.

I was just curious: how do different programs on the same computer communicate with each other? From my programming experience I believe it can be achieved by socket programming?

Thanks

like image 213
Munish Avatar asked Aug 13 '11 23:08

Munish


2 Answers

You can rely on all different kind of inter process communication. (IPC). Have a look at http://en.wikipedia.org/wiki/Inter-process_communication

On linux, dbus is used to make applications communicate together. Sockets are only one way to solve this provlem.

like image 132
Alexis Métaireau Avatar answered Sep 19 '22 21:09

Alexis Métaireau


Sockets, shared memory, events / signals, pipes, semaphores, message queues, mailslots. Just search the Internet for either.

like image 24
foxx1337 Avatar answered Sep 20 '22 21:09

foxx1337