Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2005

    Capture HTTP traffic with RSocket?

    An application1 sends an http request and then I have to catch the http response with another application2. The problem is that the application 2 has to open a socket to listen http traffic. I've tried to read the remote host using :
    but the RunL method is never called.

    Here are the different steps :

    application1 selects an access point and connects
    application 1 unregister its objects that handles http response
    application 2 opens a socket with the connection used by the application 1 and is ready to read on the http server (it calls SetActive after sock.Read(iBuffer,iclientStatus); )
    application1 sends http request to the http server

    then the runl method is never called!

    If you have suggestions thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Budapest, Hungary

    Re: Capture HTTP traffic with RSocket?

    Basic remark:
    Http traffic goes through a TCP channel, which means connection oriented transport. When app1 disconnects from the server, the session is over; app2 will have a new connection, without pending data to receive.
    Advanced remark:
    You can try RSocket::Transfer for passing the socket from app1 to app2, and see if it works.

Similar Threads

  1. Replies: 2
    Last Post: 2006-10-06, 17:24
  2. HTTP Client - Synchronous HTTP POST Calls?
    By symbian_ravi in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2006-04-16, 11:51
  3. http connection via a proxy programmatically
    By tiansun in forum Mobile Java General
    Replies: 0
    Last Post: 2005-04-19, 02:47
  4. http download via gprs and RSocket
    By wfettich in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2004-12-20, 19:02
  5. minimize http byte traffic
    By viscovich in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2004-02-10, 20:53

Posting Permissions

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