[maemo-developers] Re: D-BUS question

2006-07-14 Thread Ross Burton
On Fri, 2006-07-14 at 19:55 +0300, Dionisis Petromanolakis wrote:
 Hi all,
  
 i want to make an application running on a normal desktop computer to
 communicate with maemo. Has anyone done something similar, are there
 any sources, tutorial available that could help me?
  
 Can i do this using D-BUS or i have to do it through normal unix
 sockets? I ve read about D-BUS and everywhere says that it is created
 for applications placed in the same computer. All the sample code i
 can find is about communication on a single computer, but in the site
 of d-bus it says that it can also be used for application that are not
 in the same machine.

You can do D-Bus over TCP, but it's not advised.  You'd be better
creating your own protocol, or re-using an existing one.

Ross

-- 
Ross Burton mail: [EMAIL PROTECTED]
  jabber: [EMAIL PROTECTED]
 www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: D-BUS question

2006-07-14 Thread Dionisis Petromanolakis


- Original Message - 
From: Ross Burton [EMAIL PROTECTED]

To: maemo-developers@maemo.org
Sent: Friday, July 14, 2006 8:03 PM
Subject: [maemo-developers] Re: D-BUS question



On Fri, 2006-07-14 at 19:55 +0300, Dionisis Petromanolakis wrote:

Hi all,

i want to make an application running on a normal desktop computer to
communicate with maemo. Has anyone done something similar, are there
any sources, tutorial available that could help me?

Can i do this using D-BUS or i have to do it through normal unix
sockets? I ve read about D-BUS and everywhere says that it is created
for applications placed in the same computer. All the sample code i
can find is about communication on a single computer, but in the site
of d-bus it says that it can also be used for application that are not
in the same machine.


You can do D-Bus over TCP, but it's not advised.  You'd be better
creating your own protocol, or re-using an existing one.

Ross

--
Ross Burton mail: [EMAIL PROTECTED]
 jabber: [EMAIL PROTECTED]
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers




hi Ross,

do you have any links for a protocol that i could use or at least use as a 
reference to create mine?


thanx
dionysis 




___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: D-BUS question

2006-07-14 Thread alessandro pasotti
It's from The art of computer programming by Eric Raymond
Ooops: it was of UNIX programming obviously.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers