×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Oct 2009
    Posts
    155

    Unhappy [moved] How to send data to a remote server (was: help me..)

    hi all

    TBuf<20> name;

    name.Copy(this->iSettings->Edit1());
    TInt num;
    num = this->iSettings->IntegerEditor1();
    TTime exp;
    exp = this->iSettings->DateEditor1();
    TInt cvv;
    cvv = this->iSettings->IntegerEditor2();
    now i want to send these name num exp cvv to the server.. i have established connection between server to client..
    how should i do that..

    here i found methods like OpenSessionL,IssueHTTPGetL,SetHeaderL,DumpRespHeadersL,MHFRunL,MHFRunError,GetCredentialsL..

    but not anything like post.. please help me..do i have to declare my own method like post and have to give definition to that..?
    or
    is there any predefined method like post on which i have to override the defintion...

    please guide me please..
    -Bharathi

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: help me..

    Your code segment as nothing to do with your problem, your thread's title is too generic (and you have another one with the same titile) and if you are looking for a networking solution then you better post your question to the "Symbian Networking and Messaging" forum.

    Now, if you want to send data to a server you must first clarify for yourself what type of server that is. If it is a HTTP server then HTTP POST is one option although small amount of info could be eventually encoded in the URL to be fetched by a GET. There are HTTP examples available in the SDK and on Forum Nokia so you need to do a bit of reading then coding your app will be a piece of cake.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: [moved] How to send data to a remote server (was: help me..)

    And if you open IssueHTTPGetL() from that example, you would find HTTP::EGET after few lines, there you need to change it to HTTP::EPOST. There would be other changes to make it to post but you can find it out.

    You may try searching HTTP::EPOST + symbian on google and see where does it lead you.
    Nokia Developer Wiki Moderation team

  4. #4
    Regular Contributor
    Join Date
    Aug 2005
    Location
    India
    Posts
    399

    Re: [moved] How to send data to a remote server (was: help me..)

    Hi http://wiki.forum.nokia.com/index.ph...P_with_RSocket will help you in understanding HTTP connections

Similar Threads

  1. how to send data to server continuously?
    By nokia_lin in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2009-10-29, 08:38
  2. why cant we send the data again to the server once the DataOutputStream is flush ed
    By arungupta_2jan in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2008-08-11, 17:58
  3. how much data i can send to server from midlet?
    By l_satyadev in forum Mobile Java General
    Replies: 2
    Last Post: 2006-05-16, 05:21
  4. Socket to server web, send a recive data;
    By maxsoftnokia in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-07-16, 16:24

Posting Permissions

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