×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    22

    How Do I Write A Server Client Program in Symbian C++

    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
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: How Do I Write A Server Client Program in Symbian C++

    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
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: How Do I Write A Server Client Program in Symbian C++

    Also for socket programming, u can refer following article.

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

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: How Do I Write A Server Client Program in Symbian C++

    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
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: How Do I Write A Server Client Program in Symbian C++

    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 Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: How Do I Write A Server Client Program in Symbian C++

    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
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: How Do I Write A Server Client Program in Symbian C++

    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
    Join Date
    Mar 2009
    Posts
    22

    Re: How Do I Write A Server Client Program in Symbian C++

    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
    Join Date
    Oct 2008
    Posts
    229

    Re: How Do I Write A Server Client Program in Symbian C++

    socket programming in s60, u can refer following article.
    http://wiki.forum.nokia.com/index.ph...he_sockets_API

Similar Threads

  1. 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
    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
  •  
×