×

Discussion Board

Search:

Type: Posts; User: oledocmeth; Keyword(s):

Search: Search took 0.02 seconds; generated 2 minute(s) ago.

  1. Replies
    44
    Views
    45,465

    settings structure

    put this at top of include file

    class Settings
    {
    public:
    /*! @var port number to connect to */
    TInt iPort;
    /*! @var server name to connect to */
    TBuf<50> ...
  2. Replies
    44
    Views
    45,465

    use TBuf8 instead

    use TBuf8 instead
  3. Working example of HTTP POST

    Look at the Send() function for HTTP Headers, also you might want to URLEncode your data, use the Encode function.

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  4. Working example of HTTP POST

    you might convert your array of data to a base64 encoded string (or file). Then you can use my code to upload it as an HTTP Post to a server.
    ...
  5. Replies
    1
    Views
    4,541

    See working example

    maybe thiss will help you

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  6. Replies
    1
    Views
    3,924

    This might be a problem with UniCode (16 bit)...

    This might be a problem with UniCode (16 bit) charactes and ASCII (8 bit) characters.

    try doing something like this to buf to get the lower 8 bits of each character -

    for (TInt j=0; j <...
  7. Replies
    2
    Views
    6,553

    See working example

    I have found that using a buffer for a receive can get overwritten by the next receive. I changed my code to use a linked list and store each packet in a different object.
    ...
  8. Replies
    2
    Views
    5,455

    See working example

    Don't know if this will help, I keep the received packets on a linked list instead of a large string.

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  9. Replies
    2
    Views
    6,100

    See working example

    Check the DoCancel function in my example - might help you out.


    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  10. Replies
    8
    Views
    8,707

    Working example of HTTP POST

    I use this code to upload the contents of a file in an HTTP POST. Maybe it can help you?

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  11. See working example

    maybe my code can help you

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  12. Replies
    1
    Views
    2,817

    Working example of HTTP POST

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  13. Replies
    12
    Views
    7,936

    Working example of HTTP POST

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  14. Working example of HTTP POST

    This can be changed to a GET

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  15. Replies
    3
    Views
    6,833

    Working example of HTTP POST

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  16. Whoops - here it the link to code

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  17. Working example of HTTP POST

    I wonder if my code here will help you - if you base64 encode your image to a file this code will usrl encode it and send it to the server as a HTTP POST.

    If this helps you then I would like to...
  18. Replies
    7
    Views
    7,404

    Working example of HTTP POST

    follow the link

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  19. See working example

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  20. Replies
    3
    Views
    4,857

    See working example

    In this case look in the IssueRequest and RunL functions

    http://discussion.forum.nokia.com/forum/showthread.php?s=&postid=62798#post62798
  21. Replies
    44
    Views
    45,465

    Continuing HTTP POST code

    Xmit.h:

    #ifndef __XMIT_H__
    #define __XMIT_H__

    #include <es_sock.h>
    #include <in_sock.h>
    #include <e32std.h>

    class myElement
  22. Replies
    44
    Views
    45,465

    Code for HTTP POST

    Yes, I am using an active object - here is a stripped version of my working code.
    This code emulates a HTTP POST to a web server and gets the response.

    (Just took out unneeded code, did not try...
  23. Replies
    44
    Views
    45,465

    This worked for me -

    whenever I got the -2147483647 I would use User::WaitForRequest(iRecvStatus); to pause the receive code. This seems to have solved my problems, I believe now that it indicates that I was accessing...
  24. Replies
    44
    Views
    45,465

    wierd error code - 2147483647 on TCP receive

    Can any one explain what this error code means?

    I sometimes get a - 2147483647 as the status when using a Recv or RecvOneOrMore function.

    This error sometimes occurs on the last packet not...
Results 1 to 24 of 24
×