Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User yinyz's Avatar
    Join Date
    Aug 2007
    Posts
    37
    What is the best inter-process communication method?

    I would like to know the best inter-process communication method. Plz considering the following scenario:

    Mail client.
    I need to write a mail server and a mail client on symbian. The server is responsible for communication between SMTP/POP3 mail server. The mail client is user interface for user response. Now the question is :

    (1) What is the best method of inter-process communication method, science the mail server and the client should be in different process. The server is avoke when the handset is poweron, while the client is triggered only when user select it or the server notice it about a mail comming.

    (2) Moreover, the communication content between mail server and client have a variaty of type, such as synchronization, text data/vedio/audio attachment transfer an so on. How should these complicated content types are considered?

    (3) What is the best method for inter-process communication between the mail server reside on the handset and the SMTP/POP3 mail server reside on a MSWindows or Linux server, since the complexity of content types should also be considered?

  2. #2
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    This forum is for Chinese speakers so the use of the Chinese language would be more appropriate. Otherwise is just another duplicate of the already duplicated messages in the common forums.

  3. #3
    Super Contributor liuxg's Avatar
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609
    On S60 platform, client/server architecture itself provides a good mechanism for inter-process communications. The exact example codes can be found at:

    \Symbian\9.1\S60_3rd\Examples\Base\IPC

  4. #4
    Registered User yinyz's Avatar
    Join Date
    Aug 2007
    Posts
    37
    对不起,那个电脑不能输入中文。
    我看了IPC部分,但里面对大块数据的进程间交换没有介绍,介绍的IPC好像只能传递4个参数,如果用到了subsession,则只能传递3个。没有类似windows的共享内存的机制。

  5. #5
    Super Contributor liuxg's Avatar
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609
    You surely can do that. You may pass a pointer rather than a value. Meanwhile, you may also use shared memory to do that. Please search for RChunk API. Also, on Symbian, mailbox mechanism is also used. Publish and subscribe is also a good method to do IPC. There are many ways to do IPC on Symbian.

Similar Threads

  1. Replies: 1
    Last Post: 2007-11-23, 10:38
  2. Inter thread communication
    By navjotsingh1979 in forum Symbian C++
    Replies: 1
    Last Post: 2007-11-19, 08:05
  3. Inter process communication: stack only?
    By Zaibach in forum Symbian C++
    Replies: 4
    Last Post: 2006-11-10, 14:53
  4. symbian inter process communication help ?
    By rishikum in forum Symbian C++
    Replies: 3
    Last Post: 2006-04-07, 07:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved