×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    7

    Smile Python IPC on S60

    Hello mates

    I would like to know what are the various options available in pys60 for IPC? Am I limited to using only sockets?

    I need to communicate between a server & a UI process. Any help/ideas would be appreciated.

    Thanks...

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    UK
    Posts
    125

    Re: Python IPC on S60

    Quote Originally Posted by saviour View Post
    I would like to know what are the various options available in pys60 for IPC? Am I limited to using only sockets?

    I need to communicate between a server & a UI process. Any help/ideas would be appreciated.
    Presumably the 'server' to which you refer is to be a separate process on the phone. If so, you're pretty much stuck with either sockets, or communicating via files on the filesystem.

    If you can achieve what you need by using two threads in a process, rather than two processes, then you can share variables in the process.

    If you can be more specific about what you're trying to achieve, then there may be other options.

  3. #3
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Helsinki
    Posts
    376

    Re: Python IPC on S60

    We did it with sockets and tried file system approach first.

    FS didn't really work at all (tow slow on Symbian).

    Sockets over localhost have awful problems too. You need all kind of hacks to shutdown the connection properly. For example, if the client does not cleanly disconnect the socket, the server just crashes (phone reboots, scoket won't reconnect or the server process stops).
    Mikko Ohtamaa

    http://mfabrik.com
    http://blog.mfabrik.com

Similar Threads

  1. Python for S60 1.4.1 released
    By jplauril in forum Symbian
    Replies: 30
    Last Post: 2009-02-07, 14:09
  2. S60 IrDA Python Extension (PLEASE HEEEELPPP)
    By alistair9 in forum Symbian
    Replies: 1
    Last Post: 2008-06-05, 12:18
  3. Replies: 1
    Last Post: 2008-01-08, 09:58
  4. Replies: 2
    Last Post: 2006-10-19, 17:53
  5. Required SDK for s60 python language
    By mohib in forum Symbian
    Replies: 2
    Last Post: 2006-10-11, 22:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×