Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User phuawl's Avatar
    Join Date
    Mar 2009
    Posts
    22
    Hi All,

    I am new to Symbian C++ programming and I would like to find out how to do socket programming in Symbian C++. I need to develop a server which runs on a desktop and listens to messages sent by a client which runs on the mobile phone. Any help would be much appreciated. Thanks!

  2. #2
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    Why do you need server running on desktop???. Ideally server will run in background and do some task. Anyway choice is yours.

    For client server comminication you have to use IPC mechanism.
    follows folowing articles for more details.

    http://wiki.forum.nokia.com/index.ph...ion_in_Symbian

    http://wiki.forum.nokia.com/index.ph...on_of_a_server

    http://wiki.forum.nokia.com/index.ph...r_from_scratch

    http://wiki.forum.nokia.com/index.ph...rver_Framework

  3. #3
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    Also for socket programming, u can refer following article.

    http://wiki.forum.nokia.com/index.php/SMS_Utilities_API

  4. #4
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    The question is about the normal client-server architecture, not the symbian client server thingi... i.e. the Desktop applciation is the server part, and the phone app is the client...

    I quess easiet way would be to do it over BT, you could check point-to-point BT example from the SDK, and then you would just need to have a way on handling the BT on the PC side.

  5. #5
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    Oopps!!!! I thought desktop mean symbian application running on desktop(of mobile phone). m sorry for mistake.
    Last edited by savaj; 2009-03-31 at 10:10.

  6. #6
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    good one, maybe we should port Symbian to Run in our Laptops, then the communications from laptop side would be so much easier...,

  7. #7
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,415
    Quote Originally Posted by symbianyucca View Post
    good one, maybe we should port Symbian to Run in our Laptops
    Symbian already runs on x86 (so the Intel base port has already been done). Of course, getting it is not easy yet as Symbian Foundation is not delivering anything yet as open source, and the hardware adaptation parts are not within the Symbian Foundation scope anyway:

    http://blog.symbian.org/2009/03/24/b...ones/#more-519

  8. #8
    Registered User phuawl's Avatar
    Join Date
    Mar 2009
    Posts
    22
    May I know where can I find an example for a server program that listens on a specific IP address and port on the PC desktop and a client program that runs on the mobile phone and sends messages over TCP/IP to the server program?

    Also, is socket programming in Symbian C++ similar to that in C++?
    Do we use functions like bind(), listen(), accept(), send(), receive() in Symbian C++ socket programming?

    Thanks!

  9. #9
    Registered User GFYsweetwood's Avatar
    Join Date
    Oct 2008
    Posts
    229
    socket programming in s60, u can refer following article.
    http://wiki.forum.nokia.com/index.ph...he_sockets_API

Similar Threads

  1. Symbian Server, Active Objects and Clients help
    By skypek in forum Symbian C++
    Replies: 12
    Last Post: 2009-02-16, 16:34
  2. how to send/recieve data from java server to symbian client through socket.
    By query123 in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2008-11-19, 10:28
  3. Failed to connect a TCP client app with a server
    By abolfoooud in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2008-08-24, 07:47
  4. how to write symbian program
    By swapniladsure in forum Symbian C++
    Replies: 9
    Last Post: 2008-07-20, 12:50
  5. Replies: 7
    Last Post: 2008-02-26, 15:43

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